summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2013-01-25 12:43:01 -0500
committerAnthony G. Basile <blueness@gentoo.org>2013-01-28 17:42:47 -0500
commit0354eeacf8c6d6cf14b3106463def30d108be145 (patch)
tree167366fafc8381a59f26276c373e912718b03a3e
parenteb256defbed7f66cd6e3073f6bff3e167ec3d6f2 (diff)
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 <lnykryn@redhat.com> Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
-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 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;