diff options
author | dillon <dillon@FreeBSD.org> | 1999-01-27 23:45:44 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1999-01-27 23:45:44 +0000 |
commit | f9a4729a9b5e134850841ee06d85b97bf66e749b (patch) | |
tree | e09f1712b3a4b92e9e060d46fecff5e8f5243354 /sys/nfsclient/bootp_subr.c | |
parent | c590848cf5d691aba15e5a6579fb75c5fbefab93 (diff) | |
download | FreeBSD-src-f9a4729a9b5e134850841ee06d85b97bf66e749b.zip FreeBSD-src-f9a4729a9b5e134850841ee06d85b97bf66e749b.tar.gz |
Fix warnings in preparation for adding -Wall -Wcast-qual to the
kernel compile.
This commit includes significant work to proper handle const arguments
for the DDB symbol routines.
Diffstat (limited to 'sys/nfsclient/bootp_subr.c')
-rw-r--r-- | sys/nfsclient/bootp_subr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/nfsclient/bootp_subr.c b/sys/nfsclient/bootp_subr.c index 1efca25..d91bf90 100644 --- a/sys/nfsclient/bootp_subr.c +++ b/sys/nfsclient/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; /* |