diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-01-13 16:10:23 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-01-13 21:53:13 +0100 |
commit | 983cbd91a8b5e87b9e2507d1179d969d784d2b67 (patch) | |
tree | 9a93265ced8bd59ea6b3011000998a8ab5b88521 | |
parent | Merge pull request #18227 from yuwata/network-dhcp6-pd-manage-temporary-address (diff) | |
download | systemd-983cbd91a8b5e87b9e2507d1179d969d784d2b67.tar.xz systemd-983cbd91a8b5e87b9e2507d1179d969d784d2b67.zip |
udev: add missing short option name
Follow-up for 4fcc033b5476039a7a8030e1edc261d42cec028b.
Fixes CID#1442307.
-rw-r--r-- | src/udev/udev-builtin-blkid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udev/udev-builtin-blkid.c b/src/udev/udev-builtin-blkid.c index 6a3b7cf18f..2daafb1150 100644 --- a/src/udev/udev-builtin-blkid.c +++ b/src/udev/udev-builtin-blkid.c @@ -239,7 +239,7 @@ static int builtin_blkid(sd_device *dev, int argc, char *argv[], bool test) { static const struct option options[] = { { "offset", required_argument, NULL, 'o' }, { "hint", required_argument, NULL, 'H' }, - { "noraid", no_argument, NULL, 'R' }, + { "noraid", no_argument, NULL, 'R' }, {} }; @@ -251,7 +251,7 @@ static int builtin_blkid(sd_device *dev, int argc, char *argv[], bool test) { for (;;) { int option; - option = getopt_long(argc, argv, "o:R", options, NULL); + option = getopt_long(argc, argv, "o:H:R", options, NULL); if (option == -1) break; |