projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2959fb0
)
scsi_id: add missing options to getopt_long() (#6501)
author
Jan Synacek
<jan.synacek@gmail.com>
Wed, 2 Aug 2017 08:12:33 +0000
(10:12 +0200)
committer
Martin Pitt
<martinpitt@users.noreply.github.com>
Wed, 2 Aug 2017 08:12:33 +0000
(10:12 +0200)
src/udev/scsi_id/scsi_id.c
patch
|
blob
|
history
diff --git
a/src/udev/scsi_id/scsi_id.c
b/src/udev/scsi_id/scsi_id.c
index
3c3d7a6
..
0abbc51
100644
(file)
--- a/
src/udev/scsi_id/scsi_id.c
+++ b/
src/udev/scsi_id/scsi_id.c
@@
-336,7
+336,7
@@
static int set_options(struct udev *udev,
* file) we have to reset this back to 1.
*/
optind = 1;
- while ((option = getopt_long(argc, argv, "d:f:gp:uvVxh", options, NULL)) >= 0)
+ while ((option = getopt_long(argc, argv, "d:f:gp:uvVxh
bs:
", options, NULL)) >= 0)
switch (option) {
case 'b':
all_good = false;