[WAN]: fix drivers/net/wan/lmc/ compilation
authorAdrian Bunk <bunk@kernel.org>
Tue, 30 Oct 2007 22:34:34 +0000 (15:34 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 31 Oct 2007 04:16:15 +0000 (21:16 -0700)
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/lmc/lmc_main.c

index 64eb578..37c52e1 100644 (file)
@@ -234,7 +234,7 @@ int lmc_ioctl (struct net_device *dev, struct ifreq *ifr, int cmd) /*fold00*/
         sc->lmc_xinfo.Magic1 = 0xDEADBEEF;
 
         if (copy_to_user(ifr->ifr_data, &sc->lmc_xinfo,
-                                       sizeof(struct lmc_xinfo))) {
+                        sizeof(struct lmc_xinfo)))
                ret = -EFAULT;
        else
                ret = 0;