summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k/stand
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-11-17 22:13:12 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-11-17 22:13:12 +0000
commitdb352d98eed26fcd50bd0ec867ff8774aedb55ea (patch)
treedec5c036a0334edb6e0f217aee0f3902fcba5022 /sys/arch/mvme68k/stand
parente71f140245e676767fbc142a746fb45df045aa43 (diff)
deal with new rarp_getipaddress() semantics
Diffstat (limited to 'sys/arch/mvme68k/stand')
-rw-r--r--sys/arch/mvme68k/stand/netboot/dev_net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvme68k/stand/netboot/dev_net.c b/sys/arch/mvme68k/stand/netboot/dev_net.c
index 1562fe6c38b..3f0cef24cff 100644
--- a/sys/arch/mvme68k/stand/netboot/dev_net.c
+++ b/sys/arch/mvme68k/stand/netboot/dev_net.c
@@ -1,4 +1,4 @@
-/* $Id: dev_net.c,v 1.3 1995/11/07 08:50:59 deraadt Exp $ */
+/* $Id: dev_net.c,v 1.4 1995/11/17 22:13:11 deraadt Exp $ */
/*
* Copyright (c) 1995 Gordon W. Ross
@@ -138,7 +138,7 @@ net_mountroot(f, devname)
/* Get boot info using RARP and Sun bootparams. */
/* Get our IP address. (rarp.c) */
- if ((myip.s_addr = rarp_getipaddress(netdev_sock)) == 0)
+ if (rarp_getipaddress(netdev_sock) == -1)
return (EIO);
printf("boot: client IP address: %s\n", intoa(myip.s_addr));