Skip to content

Commit

Permalink
Author: Jan Synacek <[email protected]>
Browse files Browse the repository at this point in the history
Date:   Wed Aug 2 10:12:33 2017 +0200

scsi_id: add missing options to getopt_long() (#6501)

systemd-commit: ebc6f34a0b2359ac0da41037a1122d3abe02caee
  • Loading branch information
bbonev committed Sep 19, 2021
1 parent 1d093c2 commit 0dbaeb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scsi_id/scsi_id.c
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,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;
Expand Down

0 comments on commit 0dbaeb9

Please sign in to comment.