diff options
Diffstat (limited to 'drivers/net/epic100.c')
-rw-r--r-- | drivers/net/epic100.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/epic100.c b/drivers/net/epic100.c index 1c546b4d1..f855d1978 100644 --- a/drivers/net/epic100.c +++ b/drivers/net/epic100.c @@ -1071,7 +1071,7 @@ static int mii_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) } return 0; case SIOCDEVPRIVATE+2: /* Write the specified MII register */ - if (!suser()) + if (!capable(CAP_NET_ADMIN)) return -EPERM; if (! netif_running(dev)) { outl(0x0200, ioaddr + GENCTL); |