patch-2.4.0-test10 linux/net/bridge/br_ioctl.c
Next file: linux/net/bridge/br_private_stp.h
Previous file: linux/net/bridge/br_if.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Oct 10 10:33:52 2000
- Orig file:
v2.4.0-test9/linux/net/bridge/br_ioctl.c
- Orig date:
Mon Feb 21 17:35:06 2000
diff -u --recursive --new-file v2.4.0-test9/linux/net/bridge/br_ioctl.c linux/net/bridge/br_ioctl.c
@@ -5,7 +5,7 @@
* Authors:
* Lennert Buytenhek <buytenh@gnu.org>
*
- * $Id: br_ioctl.c,v 1.2 2000/02/21 15:51:34 davem Exp $
+ * $Id: br_ioctl.c,v 1.3 2000/10/05 01:58:16 davem Exp $
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -138,7 +138,7 @@
p.hold_timer_value = br_timer_get_residue(&pt->hold_timer);
if (copy_to_user((void *)arg0, &p, sizeof(p)))
- return -EINVAL;
+ return -EFAULT;
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)