summaryrefslogtreecommitdiff
path: root/usr.bin/rdistd/rdistd.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-06-26 21:21:25 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-06-26 21:21:25 +0000
commite02f77d2a6a52f96b8f35599d9c13a1e62817b9b (patch)
treecdffbc6d417f3f0b0f89db1bc35dd35d4d63b96c /usr.bin/rdistd/rdistd.c
parentf82caec240a71362a5d0f2305c7f074be119948b (diff)
rdist 6.1.4 + OpenBSD patches + some -Wall
Diffstat (limited to 'usr.bin/rdistd/rdistd.c')
-rw-r--r--usr.bin/rdistd/rdistd.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/usr.bin/rdistd/rdistd.c b/usr.bin/rdistd/rdistd.c
index 136ada11489..cfe201c2591 100644
--- a/usr.bin/rdistd/rdistd.c
+++ b/usr.bin/rdistd/rdistd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rdistd.c,v 1.3 1996/06/26 05:38:24 deraadt Exp $ */
+/* $OpenBSD: rdistd.c,v 1.4 1998/06/26 21:20:51 millert Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
@@ -34,8 +34,13 @@
*/
#ifndef lint
+#if 0
static char RCSid[] =
-"$OpenBSD: rdistd.c,v 1.3 1996/06/26 05:38:24 deraadt Exp $";
+"$From: rdistd.c,v 6.22 1995/12/11 23:37:35 mcooper Exp $";
+#else
+static char RCSid[] =
+"$OpenBSD: rdistd.c,v 1.4 1998/06/26 21:20:51 millert Exp $";
+#endif
static char sccsid[] = "@(#)rdistd.c";
@@ -61,6 +66,7 @@ char localmsglist[] = "syslog=ferror";
/*
* The Beginning
*/
+int
main(argc, argv, envp)
int argc;
char **argv;
@@ -102,7 +108,7 @@ main(argc, argv, envp)
rem_w = fileno(stdout);
/* Set logging */
- if (cp = msgparseopts(localmsglist, TRUE))
+ if ((cp = msgparseopts(localmsglist, TRUE)))
fatalerr("Bad message logging option (%s): %s",
localmsglist, cp);