Delete unnecessary cast to void *.
This commit is contained in:
parent
c34fe4cd39
commit
b39c416892
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: nfs_boot.c,v 1.72 2008/04/28 20:24:10 martin Exp $ */
|
||||
/* $NetBSD: nfs_boot.c,v 1.73 2008/05/22 00:57:09 dyoung Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1995, 1997 The NetBSD Foundation, Inc.
|
||||
|
@ -35,7 +35,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_boot.c,v 1.72 2008/04/28 20:24:10 martin Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: nfs_boot.c,v 1.73 2008/05/22 00:57:09 dyoung Exp $");
|
||||
|
||||
#include "opt_nfs.h"
|
||||
#include "opt_tftproot.h"
|
||||
|
@ -219,7 +219,7 @@ nfs_boot_ifupdown(ifp, lwp, up)
|
|||
ireq.ifr_flags |= IFF_UP;
|
||||
else
|
||||
ireq.ifr_flags &= ~IFF_UP;
|
||||
error = ifioctl(so, SIOCSIFFLAGS, (void *)&ireq, lwp);
|
||||
error = ifioctl(so, SIOCSIFFLAGS, &ireq, lwp);
|
||||
if (error) {
|
||||
printf("ifupdown: SIFFLAGS, error=%d\n", error);
|
||||
goto out;
|
||||
|
|
Loading…
Reference in New Issue