Module Name: src Committed By: jakllsch Date: Wed Feb 14 17:43:09 UTC 2018
Modified Files: src/sbin/drvctl: drvctl.c Log Message: Revert functional changes in previous, at expense of strict KNF conformance. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sbin/drvctl/drvctl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sbin/drvctl/drvctl.c diff -u src/sbin/drvctl/drvctl.c:1.19 src/sbin/drvctl/drvctl.c:1.20 --- src/sbin/drvctl/drvctl.c:1.19 Sun Jan 7 15:26:43 2018 +++ src/sbin/drvctl/drvctl.c Wed Feb 14 17:43:09 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: drvctl.c,v 1.19 2018/01/07 15:26:43 christos Exp $ */ +/* $NetBSD: drvctl.c,v 1.20 2018/02/14 17:43:09 jakllsch Exp $ */ /* * Copyright (c) 2004 @@ -86,18 +86,18 @@ main(int argc, char **argv) case 'Q': case 'R': case 'S': - case 'a': - attr = optarg; - break; case 'd': - case 'n': - nflag = true; - break; case 'l': case 'p': case 'r': mode = c; break; + case 'a': + attr = optarg; + break; + case 'n': + nflag = true; + break; case 't': tflag = nflag = true; break;