From 0354eeacf8c6d6cf14b3106463def30d108be145 Mon Sep 17 00:00:00 2001 From: Ian Stakenvicius Date: Fri, 25 Jan 2013 12:43:01 -0500 Subject: Add missing ':' to getopt_long 'e' Parameter -e is set without additional argument in getopt and this leads to segfault when calling 'udevd -e'. systemd commit 5bbbe461fd4d133eac49f41210e2fd4846f577d8 Author: Lukas Nykryn Signed-off-by: Anthony G. Basile --- src/udev/udevd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/udev/udevd.c b/src/udev/udevd.c index 220885b8ee..9325ed58b0 100644 --- a/src/udev/udevd.c +++ b/src/udev/udevd.c @@ -1060,7 +1060,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; -- cgit v1.2.3-54-g00ecf