[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 64eb57893602a90a36a88c892c24c697aef5db2f..37c52e1317504a5e1a7a0e87ca53a47c7daf697b 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;