summaryrefslogtreecommitdiff
path: root/src/udev/scsi_id/scsi_id.c
diff options
context:
space:
mode:
authorJan Synacek <jan.synacek@gmail.com>2017-08-02 10:12:33 +0200
committerMartin Pitt <martinpitt@users.noreply.github.com>2017-08-02 10:12:33 +0200
commitebc6f34a0b2359ac0da41037a1122d3abe02caee (patch)
treeeb92d173956626cf3d4ace0ecf834226dd3c9ddc /src/udev/scsi_id/scsi_id.c
parent2959fb07cbad2be0c835fb5ae709f884e4b86dc4 (diff)
downloadsystemd-ebc6f34a0b2359ac0da41037a1122d3abe02caee.tar.gz
scsi_id: add missing options to getopt_long() (#6501)
Diffstat (limited to 'src/udev/scsi_id/scsi_id.c')
-rw-r--r--src/udev/scsi_id/scsi_id.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/scsi_id/scsi_id.c b/src/udev/scsi_id/scsi_id.c
index 3c3d7a6b33..0abbc510ee 100644
--- 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:uvVxhbs:", options, NULL)) >= 0)
switch (option) {
case 'b':
all_good = false;