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'.
This commit is contained in:
Lukas Nykryn 2012-12-19 13:12:26 +01:00 committed by Kay Sievers
parent 373d8fccc1
commit 5bbbe461fd

View file

@ -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;