patch-2.1.27 linux/drivers/net/dlci.c
Next file: linux/drivers/net/hdlcdrv.c
Previous file: linux/drivers/net/cs89x0.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Fri Feb 21 14:58:34 1997
-  Orig file: 
v2.1.26/linux/drivers/net/dlci.c
-  Orig date: 
Sun Feb  2 05:18:39 1997
diff -u --recursive --new-file v2.1.26/linux/drivers/net/dlci.c linux/drivers/net/dlci.c
@@ -296,7 +296,7 @@
 	if (!get)
 	{
 		if(copy_from_user(&config, conf, sizeof(struct dlci_conf)))
-			return -FAULT;
+			return -EFAULT;
 		if (config.flags & ~DLCI_VALID_FLAGS)
 			return(-EINVAL);
 		memcpy(&dlp->config, &config, sizeof(struct dlci_conf));
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov