From 831a80b0d5d50e416fe5e4b237d3a9fd4eea00b8 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Wed, 27 Jan 1999 22:42:27 +0000 Subject: Fix warnings in preparation for adding -Wall -Wcast-qual to the kernel compile --- sys/netatm/sigpvc/sigpvc_if.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/netatm/sigpvc') 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 #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); -- cgit v1.2.3