[systemd-commits] src/udev
Kay Sievers
kay at kemper.freedesktop.org
Sat Dec 22 06:20:15 PST 2012
src/udev/udevd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 5bbbe461fd4d133eac49f41210e2fd4846f577d8
Author: Lukas Nykryn <lnykryn at redhat.com>
Date: Wed Dec 19 13:12:26 2012 +0100
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'.
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
index ebd601e..ffc48a0 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;
More information about the systemd-commits
mailing list