Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/drvctl Revert functional changes in previous, at expens...



details:   https://anonhg.NetBSD.org/src/rev/bdddba82a408
branches:  trunk
changeset: 829847:bdddba82a408
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Wed Feb 14 17:43:09 2018 +0000

description:
Revert functional changes in previous, at expense of strict KNF conformance.

diffstat:

 sbin/drvctl/drvctl.c |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (34 lines):

diff -r 243d4738b16c -r bdddba82a408 sbin/drvctl/drvctl.c
--- a/sbin/drvctl/drvctl.c      Wed Feb 14 16:45:24 2018 +0000
+++ b/sbin/drvctl/drvctl.c      Wed Feb 14 17:43:09 2018 +0000
@@ -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 @@
                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;



Home | Main Index | Thread Index | Old Index