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

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