projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80b7f71
)
hwdb: fix parsing options
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Tue, 5 Apr 2022 16:08:35 +0000
(
01:08
+0900)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Tue, 5 Apr 2022 19:03:32 +0000
(
04:03
+0900)
Fixes #22976.
src/hwdb/hwdb.c
patch
|
blob
|
history
diff --git
a/src/hwdb/hwdb.c
b/src/hwdb/hwdb.c
index e70354e44450b2dece82f1c285ef6b5658811b8f..17ac7e4fbe080396b85cad374e9a7a7fe3497cc8 100644
(file)
--- a/
src/hwdb/hwdb.c
+++ b/
src/hwdb/hwdb.c
@@
-73,7
+73,7
@@
static int parse_argv(int argc, char *argv[]) {
assert(argc >= 0);
assert(argv);
- while ((c = getopt_long(argc, argv, "
ust:
r:h", options, NULL)) >= 0)
+ while ((c = getopt_long(argc, argv, "
s
r:h", options, NULL)) >= 0)
switch (c) {
case 'h':