projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8a4d9a
)
hwdb: fix parsing options
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Tue, 5 Apr 2022 16:08:35 +0000
(
01:08
+0900)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Thu, 28 Apr 2022 17:17:14 +0000
(19:17 +0200)
Fixes #22976.
(cherry picked from commit
5674b74c4f99e433fd8e7242e9f16f6ddfece94c
)
(cherry picked from commit
df6253cbda3e5d1b3c694de223cb7899f3aecc74
)
src/hwdb/hwdb.c
patch
|
blob
|
history
diff --git
a/src/hwdb/hwdb.c
b/src/hwdb/hwdb.c
index 50b4cb304af7abf572fd86fe9ae25ea3cf5a1387..a3a050530bf07a64f85568e9d6414a455418788d 100644
(file)
--- a/
src/hwdb/hwdb.c
+++ b/
src/hwdb/hwdb.c
@@
-73,8
+73,8
@@
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)
- switch(c) {
+ while ((c = getopt_long(argc, argv, "
s
r:h", options, NULL)) >= 0)
+ switch
(c) {
case 'h':
return help();