patch-2.4.19 linux-2.4.19/arch/sparc64/solaris/misc.c

Next file: linux-2.4.19/arch/sparc64/solaris/timod.c
Previous file: linux-2.4.19/arch/sparc64/solaris/ioctl.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/arch/sparc64/solaris/misc.c linux-2.4.19/arch/sparc64/solaris/misc.c
@@ -56,7 +56,7 @@
 	/* Do we need it here? */
 	set_personality(PER_SVR4);
 	if (flags & MAP_NORESERVE) {
-		static int cnt = 0;
+		static int cnt;
 		
 		if (cnt < 5) {
 			printk("%s:  unimplemented Solaris MAP_NORESERVE mmap() flag\n",

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