patch-2.3.3 linux/drivers/char/planb.c
Next file: linux/drivers/char/planb.h
Previous file: linux/drivers/char/pcxx.h
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Sat May 15 15:05:36 1999
-  Orig file: 
v2.3.2/linux/drivers/char/planb.c
-  Orig date: 
Mon May 10 10:17:28 1999
diff -u --recursive --new-file v2.3.2/linux/drivers/char/planb.c linux/drivers/char/planb.c
@@ -379,7 +379,7 @@
 
 static void __planb_wait(struct planb *pb)
 {
-	struct wait_queue wait = { current, NULL };
+	DECLARE_WAITQUEUE(wait, current);
 
 	add_wait_queue(&pb->lockq, &wait);
 repeat:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)