summaryrefslogtreecommitdiff
path: root/usr.sbin/rpc.bootparamd/bootparamd.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-04-21 23:47:39 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-04-21 23:47:39 +0000
commit882e83ccf31fca22178b290a6753a605bb52044c (patch)
treee2e6ec6ef7e162fd03a03e5c71bc96ce90d1c105 /usr.sbin/rpc.bootparamd/bootparamd.c
parent67d88b0a9910a68bb666b448d2dac29cb4d3d8c2 (diff)
sync to netbsd 960418
Diffstat (limited to 'usr.sbin/rpc.bootparamd/bootparamd.c')
-rw-r--r--usr.sbin/rpc.bootparamd/bootparamd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/rpc.bootparamd/bootparamd.c b/usr.sbin/rpc.bootparamd/bootparamd.c
index bd0dabebfcc..19204685db8 100644
--- a/usr.sbin/rpc.bootparamd/bootparamd.c
+++ b/usr.sbin/rpc.bootparamd/bootparamd.c
@@ -6,7 +6,7 @@
* Various small changes by Theo de Raadt <deraadt@fsa.ca>
* Parser rewritten (adding YP support) by Roland McGrath <roland@frob.com>
*
- * $Id: bootparamd.c,v 1.1 1995/10/18 08:48:05 deraadt Exp $
+ * $Id: bootparamd.c,v 1.2 1996/04/21 23:41:48 deraadt Exp $
*/
#include <sys/types.h>
@@ -67,7 +67,7 @@ main(argc, argv)
struct hostent *he;
struct stat buf;
char *optstring;
- char c;
+ int c;
progname = rindex(argv[0], '/');
if (progname)
@@ -75,7 +75,7 @@ main(argc, argv)
else
progname = argv[0];
- while ((c = getopt(argc, argv, "dsr:f:")) != EOF)
+ while ((c = getopt(argc, argv, "dsr:f:")) != -1)
switch (c) {
case 'd':
debug = 1;