X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=blobdiff_plain;f=src%2Ferrlogger.c;h=bc0d0e5a3e121f12f0b82943ce1793d54e80be85;hp=9e7692c2a2b7f14a1b85711141bc2de1bf63ee1b;hb=121587a56e50fd4cce884d9e61e8796436b150a4;hpb=e8b7861ab2c1c92b79cdbf7a0acecfd6631c2934 diff --git a/src/errlogger.c b/src/errlogger.c index 9e7692c..bc0d0e5 100644 --- a/src/errlogger.c +++ b/src/errlogger.c @@ -58,7 +58,7 @@ int main(int argc, char **argv) name = NULL; prio = LOG_WARNING; fac = LOG_DAEMON; - while((c = getopt(argc, argv, "hn:p:f:")) >= 0) { + while((c = getopt(argc, argv, "+hn:p:f:")) >= 0) { switch(c) { case 'n': name = optarg;