scsi_id: add missing options to getopt_long() (#6501)
authorJan Synacek <jan.synacek@gmail.com>
Wed, 2 Aug 2017 08:12:33 +0000 (10:12 +0200)
committerMartin Pitt <martinpitt@users.noreply.github.com>
Wed, 2 Aug 2017 08:12:33 +0000 (10:12 +0200)
src/udev/scsi_id/scsi_id.c

index 3c3d7a6..0abbc51 100644 (file)
@@ -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;