Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/mount_qemufwcfg don't error on unknown options.
details: https://anonhg.NetBSD.org/src/rev/d0982569492b
branches: trunk
changeset: 357771:d0982569492b
user: christos <christos%NetBSD.org@localhost>
date: Sun Nov 26 15:03:15 2017 +0000
description:
don't error on unknown options.
diffstat:
sbin/mount_qemufwcfg/fwcfg.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r 140b83424ae1 -r d0982569492b sbin/mount_qemufwcfg/fwcfg.c
--- a/sbin/mount_qemufwcfg/fwcfg.c Sun Nov 26 15:00:16 2017 +0000
+++ b/sbin/mount_qemufwcfg/fwcfg.c Sun Nov 26 15:03:15 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fwcfg.c,v 1.2 2017/11/26 03:06:24 christos Exp $ */
+/* $NetBSD: fwcfg.c,v 1.3 2017/11/26 15:03:15 christos Exp $ */
/*-
* Copyright (c) 2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: fwcfg.c,v 1.2 2017/11/26 03:06:24 christos Exp $");
+__RCSID("$NetBSD: fwcfg.c,v 1.3 2017/11/26 15:03:15 christos Exp $");
#include <sys/ioctl.h>
@@ -252,8 +252,10 @@
case 'u':
fwcfg_uid = (uid_t)atoi(optarg);
break;
+#ifdef notyet
default:
usage();
+#endif
}
}
Home |
Main Index |
Thread Index |
Old Index