dd65c9
From c7eef2f4f985dd427b120fd00a36fd3d7f9a001a Mon Sep 17 00:00:00 2001
dd65c9
From: Jan Synacek <jan.synacek@gmail.com>
dd65c9
Date: Wed, 2 Aug 2017 10:12:33 +0200
dd65c9
Subject: [PATCH] scsi_id: add missing options to getopt_long() (#6501)
dd65c9
dd65c9
(cherry picked from commit ebc6f34a0b2359ac0da41037a1122d3abe02caee)
dd65c9
dd65c9
Resolves: #1476910
dd65c9
---
dd65c9
 src/udev/scsi_id/scsi_id.c | 2 +-
dd65c9
 1 file changed, 1 insertion(+), 1 deletion(-)
dd65c9
dd65c9
diff --git a/src/udev/scsi_id/scsi_id.c b/src/udev/scsi_id/scsi_id.c
Pablo Greco 48fc63
index a1b8e75fac..eae7e29557 100644
dd65c9
--- a/src/udev/scsi_id/scsi_id.c
dd65c9
+++ b/src/udev/scsi_id/scsi_id.c
dd65c9
@@ -333,7 +333,7 @@ static int set_options(struct udev *udev,
dd65c9
          * file) we have to reset this back to 1.
dd65c9
          */
dd65c9
         optind = 1;
dd65c9
-        while ((option = getopt_long(argc, argv, "d:f:gp:uvVxh", options, NULL)) >= 0)
dd65c9
+        while ((option = getopt_long(argc, argv, "d:f:gp:uvVxhbs:", options, NULL)) >= 0)
dd65c9
                 switch (option) {
dd65c9
                 case 'b':
dd65c9
                         all_good = false;