diff options
author | Matthew Dillon <dillon@FreeBSD.org> | 1999-01-27 22:42:27 +0000 |
---|---|---|
committer | Matthew Dillon <dillon@FreeBSD.org> | 1999-01-27 22:42:27 +0000 |
commit | 831a80b0d5d50e416fe5e4b237d3a9fd4eea00b8 (patch) | |
tree | f992000fa6fa60b61396de4df4bebeada04cda79 /sys/netatm/sigpvc | |
parent | be317f36a9bf314d51d60720160fc0677390c728 (diff) |
Fix warnings in preparation for adding -Wall -Wcast-qual to the
kernel compile
Notes
Notes:
svn path=/head/; revision=43305
Diffstat (limited to 'sys/netatm/sigpvc')
-rw-r--r-- | sys/netatm/sigpvc/sigpvc_if.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netatm/sigpvc/sigpvc_if.c b/sys/netatm/sigpvc/sigpvc_if.c index b3af607af6a1..7cdef3f4e995 100644 --- a/sys/netatm/sigpvc/sigpvc_if.c +++ b/sys/netatm/sigpvc/sigpvc_if.c @@ -23,7 +23,7 @@ * Copies of this Software may be made, however, the above copyright * notice must be reproduced on all copies. * - * @(#) $Id: sigpvc_if.c,v 1.3 1998/12/04 22:54:53 archie Exp $ + * @(#) $Id: sigpvc_if.c,v 1.4 1999/01/19 23:11:39 mks Exp $ * */ @@ -46,7 +46,7 @@ #include <netatm/sigpvc/sigpvc_var.h> #ifndef lint -__RCSID("@(#) $Id: sigpvc_if.c,v 1.3 1998/12/04 22:54:53 archie Exp $"); +__RCSID("@(#) $Id: sigpvc_if.c,v 1.4 1999/01/19 23:11:39 mks Exp $"); #endif @@ -639,7 +639,7 @@ sigpvc_ioctl(code, data, arg1) /* * Copy data to user buffer and update buffer info */ - if (err = copyout((caddr_t)&avr, cp, sizeof(avr))) + if ((err = copyout((caddr_t)&avr, cp, sizeof(avr))) != 0) break; cp += sizeof(avr); space -= sizeof(avr); |