aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um')
-rw-r--r--arch/um/drivers/net_kern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/net_kern.c b/arch/um/drivers/net_kern.c
index 664c2e2fb820..bd1178fa4e9a 100644
--- a/arch/um/drivers/net_kern.c
+++ b/arch/um/drivers/net_kern.c
@@ -825,7 +825,7 @@ int dev_netmask(void *d, void *m)
825 struct net_device *dev = d; 825 struct net_device *dev = d;
826 struct in_device *ip = dev->ip_ptr; 826 struct in_device *ip = dev->ip_ptr;
827 struct in_ifaddr *in; 827 struct in_ifaddr *in;
828 __u32 *mask_out = m; 828 __be32 *mask_out = m;
829 829
830 if(ip == NULL) 830 if(ip == NULL)
831 return(1); 831 return(1);