patch-2.4.0-test11 linux/net/atm/pvc.c

Next file: linux/net/atm/signaling.c
Previous file: linux/net/README
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test10/linux/net/atm/pvc.c linux/net/atm/pvc.c
@@ -130,7 +130,7 @@
 	error = sock_register(&pvc_family_ops);
 	if (error < 0) {
 		printk(KERN_ERR "ATMPVC: can't register (%d)",error);
-		return;
+		return error;
 	}
 #ifdef CONFIG_ATM_CLIP
 	atm_clip_init();

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)