NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/52905: /etc/security: garbled dkctl args
The following reply was made to PR bin/52905; it has been noted by GNATS.
From: Petar Bogdanovic <petar%smokva.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: bin/52905: /etc/security: garbled dkctl args
Date: Sun, 7 Jan 2018 11:16:18 +0100
Sorry, no, -qe is legit but not documented.
Then the issue is `listwedges -q' not being quiet on success.
Fix:
Index: dkctl.c
===================================================================
RCS file: /cvsroot/src/sbin/dkctl/dkctl.c,v
retrieving revision 1.25
diff -u -r1.25 dkctl.c
--- dkctl.c 5 Apr 2017 20:27:09 -0000 1.25
+++ dkctl.c 7 Jan 2018 10:12:16 -0000
@@ -684,6 +684,9 @@
return;
}
+ if (quiet)
+ return;
+
qsort(dkw, dkwl.dkwl_nwedges, sizeof(*dkw), dkw_sort);
printf("%s: %u wedge%s:\n", dvname, dkwl.dkwl_nwedges,
Home |
Main Index |
Thread Index |
Old Index