artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cade11d
)
Nuke 'p' that r1.97 snuck into getopt() invocation back in 2015.
author
krw
<krw@openbsd.org>
Sat, 7 Aug 2021 12:57:48 +0000
(12:57 +0000)
committer
krw
<krw@openbsd.org>
Sat, 7 Aug 2021 12:57:48 +0000
(12:57 +0000)
sbin/fdisk/fdisk.c
patch
|
blob
|
history
diff --git
a/sbin/fdisk/fdisk.c
b/sbin/fdisk/fdisk.c
index
1ba3cfb
..
3e33e2b
100644
(file)
--- a/
sbin/fdisk/fdisk.c
+++ b/
sbin/fdisk/fdisk.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: fdisk.c,v 1.13
0 2021/08/06 10:41:31
krw Exp $ */
+/* $OpenBSD: fdisk.c,v 1.13
1 2021/08/07 12:57:48
krw Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
@@
-78,7
+78,7
@@
main(int argc, char *argv[])
int verbosity = TERSE;
int oflags = O_RDONLY;
- while ((ch = getopt(argc, argv, "Aieg
p
uvf:c:h:s:l:b:y")) != -1) {
+ while ((ch = getopt(argc, argv, "Aieguvf:c:h:s:l:b:y")) != -1) {
const char *errstr;
switch(ch) {