Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/veriexecgen PR/41911: Jukka Ruohonen: A bug in veri...
details: https://anonhg.NetBSD.org/src/rev/4ab896e92331
branches: trunk
changeset: 746837:4ab896e92331
user: elad <elad%NetBSD.org@localhost>
date: Fri Aug 21 04:09:41 2009 +0000
description:
PR/41911: Jukka Ruohonen: A bug in veriexecgen
Do as suggested and add the missing 'T' to getopt() and update usage.
Thanks for the PR!
diffstat:
usr.sbin/veriexecgen/veriexecgen.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 1e83b89b9ada -r 4ab896e92331 usr.sbin/veriexecgen/veriexecgen.c
--- a/usr.sbin/veriexecgen/veriexecgen.c Fri Aug 21 03:56:58 2009 +0000
+++ b/usr.sbin/veriexecgen/veriexecgen.c Fri Aug 21 04:09:41 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: veriexecgen.c,v 1.16 2008/04/29 06:53:04 martin Exp $ */
+/* $NetBSD: veriexecgen.c,v 1.17 2009/08/21 04:09:41 elad Exp $ */
/*-
* Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
#ifndef lint
#ifdef __RCSID
-__RCSID("$NetBSD: veriexecgen.c,v 1.16 2008/04/29 06:53:04 martin Exp $");
+__RCSID("$NetBSD: veriexecgen.c,v 1.17 2009/08/21 04:09:41 elad Exp $");
#endif
#endif /* not lint */
@@ -129,7 +129,7 @@
usage(void)
{
(void)fprintf(stderr,
- "usage: %s [-AaDrSvW] [-d dir] [-o fingerprintdb] [-p prefix]\n"
+ "usage: %s [-AaDrSTvW] [-d dir] [-o fingerprintdb] [-p prefix]\n"
"\t\t [-t algorithm]\n"
"\t%s [-h]\n", getprogname(), getprogname());
}
@@ -389,7 +389,7 @@
/* error out if we have a dangling symlink or other fs problem */
v.exit_on_error = 1;
- while ((ch = getopt(argc, argv, "AaDd:ho:p:rSt:vW")) != -1) {
+ while ((ch = getopt(argc, argv, "AaDd:ho:p:rSTt:vW")) != -1) {
switch (ch) {
case 'A':
v.append_output = 1;
Home |
Main Index |
Thread Index |
Old Index