aboutsummaryrefslogtreecommitdiff
path: root/sys/nfs/bootp_subr.c
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>1999-01-27 23:45:44 +0000
committerMatthew Dillon <dillon@FreeBSD.org>1999-01-27 23:45:44 +0000
commitfe08c21a537b9aa0d92a39d91860d097ec26f6b4 (patch)
tree0fe78e9751593b0e6baf215dc54f9f5545a43552 /sys/nfs/bootp_subr.c
parent0bcef6efa1e66a8ed16f4d6cb8aedb547352f078 (diff)
Notes
Diffstat (limited to 'sys/nfs/bootp_subr.c')
-rw-r--r--sys/nfs/bootp_subr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/nfs/bootp_subr.c b/sys/nfs/bootp_subr.c
index 1efca259d5364..d91bf90bae356 100644
--- a/sys/nfs/bootp_subr.c
+++ b/sys/nfs/bootp_subr.c
@@ -1,4 +1,4 @@
-/* $Id: bootp_subr.c,v 1.17 1998/12/04 22:54:54 archie Exp $ */
+/* $Id: bootp_subr.c,v 1.18 1998/12/07 21:58:43 archie Exp $ */
/*
* Copyright (c) 1995 Gordon Ross, Adam Glass
@@ -282,7 +282,7 @@ bootpc_call(call,reply,procp)
sopt.sopt_val = &tv;
sopt.sopt_valsize = sizeof tv;
- if (error = sosetopt(so, &sopt))
+ if ((error = sosetopt(so, &sopt)) != 0)
goto out;
/*
@@ -292,7 +292,7 @@ bootpc_call(call,reply,procp)
sopt.sopt_val = &on;
sopt.sopt_valsize = sizeof on;
sopt.sopt_name = SO_BROADCAST;
- if (error = sosetopt(so, &sopt))
+ if ((error = sosetopt(so, &sopt)) != 0)
goto out;
/*