chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
373d8fc
)
udevd: add missing ':' to getopt_long 'e'
author
Lukas Nykryn
<lnykryn@redhat.com>
Wed, 19 Dec 2012 12:12:26 +0000
(13:12 +0100)
committer
Kay Sievers
<kay@vrfy.org>
Sat, 22 Dec 2012 14:19:15 +0000
(15:19 +0100)
Parameter -e is set without additional argument in getopt
and this leads to segfault when calling 'systemd-udevd -e'.
src/udev/udevd.c
patch
|
blob
|
history
diff --git
a/src/udev/udevd.c
b/src/udev/udevd.c
index ebd601e262c4117758b3603b52116ec93713d7b4..ffc48a03bdbff22f7457ee5161ea965f2177321a 100644
(file)
--- a/
src/udev/udevd.c
+++ b/
src/udev/udevd.c
@@
-1097,7
+1097,7
@@
int main(int argc, char *argv[])
for (;;) {
int option;
- option = getopt_long(argc, argv, "c:deDtN:hV", options, NULL);
+ option = getopt_long(argc, argv, "c:de
:
DtN:hV", options, NULL);
if (option == -1)
break;