diff options
-rw-r--r-- | usr.sbin/syslogd/syslogd.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/usr.sbin/syslogd/syslogd.c b/usr.sbin/syslogd/syslogd.c index 591fe2beb8e..79c08f27f56 100644 --- a/usr.sbin/syslogd/syslogd.c +++ b/usr.sbin/syslogd/syslogd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: syslogd.c,v 1.154 2015/02/12 04:23:17 jsing Exp $ */ +/* $OpenBSD: syslogd.c,v 1.155 2015/02/13 21:09:38 bluhm Exp $ */ /* * Copyright (c) 1983, 1988, 1993, 1994 @@ -367,11 +367,8 @@ main(int argc, char *argv[]) break; case 'a': if (nunix >= MAXUNIX) - fprintf(stderr, "syslogd: " - "out of descriptors, ignoring %s\n", - optarg); - else - path_unix[nunix++] = optarg; + errx(1, "out of descriptors: %s", optarg); + path_unix[nunix++] = optarg; break; case 's': path_ctlsock = optarg; |