summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-01-04 18:29:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-01-04 18:29:34 +0000
commit0e1adc1ef708c6d4bbd352ef834deb2247c3a329 (patch)
tree1a58e0459645e6f43567f571156b79960a78785f /usr.sbin
parent3c4eeacbd5b8a4df31f4e22bb61675044158048f (diff)
spacing
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/syslogd/syslogd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/syslogd/syslogd.c b/usr.sbin/syslogd/syslogd.c
index bf1b7bfff57..ac8424d2e59 100644
--- a/usr.sbin/syslogd/syslogd.c
+++ b/usr.sbin/syslogd/syslogd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: syslogd.c,v 1.70 2004/01/04 08:28:49 djm Exp $ */
+/* $OpenBSD: syslogd.c,v 1.71 2004/01/04 18:29:33 deraadt Exp $ */
/*
* Copyright (c) 1983, 1988, 1993, 1994
@@ -39,7 +39,7 @@ static const char copyright[] =
#if 0
static const char sccsid[] = "@(#)syslogd.c 8.3 (Berkeley) 4/4/94";
#else
-static const char rcsid[] = "$OpenBSD: syslogd.c,v 1.70 2004/01/04 08:28:49 djm Exp $";
+static const char rcsid[] = "$OpenBSD: syslogd.c,v 1.71 2004/01/04 18:29:33 deraadt Exp $";
#endif
#endif /* not lint */
@@ -1358,7 +1358,7 @@ cfline(char *line, struct filed *f, char *prog)
/* Parse buffer size (in kb) */
errno = 0;
rb_len = strtoul(++p, &q, 0);
- if (*p == '\0' || (errno == ERANGE && rb_len == ULONG_MAX) ||
+ if (*p == '\0' || (errno == ERANGE && rb_len == ULONG_MAX) ||
*q != ':' || rb_len == 0) {
f->f_type = F_UNUSED;
logerror(p);