summaryrefslogtreecommitdiff
path: root/src/udev
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2012-12-19 13:12:26 +0100
committerKay Sievers <kay@vrfy.org>2012-12-22 15:19:15 +0100
commit5bbbe461fd4d133eac49f41210e2fd4846f577d8 (patch)
treea9e882914ab7d5a26defd140ffbdb3c7c4c14845 /src/udev
parent373d8fccc1b3becdd0dbbdf6ade6ffa6530febb4 (diff)
udevd: add missing ':' to getopt_long 'e'
Parameter -e is set without additional argument in getopt and this leads to segfault when calling 'systemd-udevd -e'.
Diffstat (limited to 'src/udev')
-rw-r--r--src/udev/udevd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
index ebd601e262..ffc48a03bd 100644
--- 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;