diff options
author | Matthew Dillon <dillon@FreeBSD.org> | 1999-01-28 00:57:57 +0000 |
---|---|---|
committer | Matthew Dillon <dillon@FreeBSD.org> | 1999-01-28 00:57:57 +0000 |
commit | 8aef171243894d9b06e5ac740bfa5e8686fc4c1a (patch) | |
tree | f908d89518cbc0f801b11f1750100b49454326a1 /sys/netatm/atm_signal.c | |
parent | 7191deb01ed2d308d347683ba7c8e5ea66bab570 (diff) |
Fix warnings in preparation for adding -Wall -Wcast-qual to the
kernel compile
Notes
Notes:
svn path=/head/; revision=43311
Diffstat (limited to 'sys/netatm/atm_signal.c')
-rw-r--r-- | sys/netatm/atm_signal.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netatm/atm_signal.c b/sys/netatm/atm_signal.c index da46c98771a5..11660d5d5081 100644 --- a/sys/netatm/atm_signal.c +++ b/sys/netatm/atm_signal.c @@ -23,7 +23,7 @@ * Copies of this Software may be made, however, the above copyright * notice must be reproduced on all copies. * - * @(#) $Id: atm_signal.c,v 1.1 1998/09/15 08:22:58 phk Exp $ + * @(#) $Id: atm_signal.c,v 1.2 1998/10/31 20:06:54 phk Exp $ * */ @@ -38,7 +38,7 @@ #include <netatm/kern_include.h> #ifndef lint -__RCSID("@(#) $Id: atm_signal.c,v 1.1 1998/09/15 08:22:58 phk Exp $"); +__RCSID("@(#) $Id: atm_signal.c,v 1.2 1998/10/31 20:06:54 phk Exp $"); #endif @@ -212,8 +212,8 @@ atm_sigmgr_attach(pip, proto) for (nip = pip->pif_nif; nip; nip = nip->nif_pnext) { for (ncp = atm_netconv_head; ncp; ncp = ncp->ncm_next) { - if (err = (*ncp->ncm_stat) - (NCM_SIGATTACH, nip, 0)) + if ((err = (*ncp->ncm_stat) + (NCM_SIGATTACH, nip, 0)) != 0) break; } if (err) |