patch-1.3.40 linux/fs/exec.c
Next file: linux/fs/msdos/dir.c
Previous file: linux/drivers/sound/soundcard.c
Back to the patch index
Back to the overall index
-  Lines: 10
 -  Date:
Sat Nov 11 11:00:47 1995
 -  Orig file: 
v1.3.39/linux/fs/exec.c
 -  Orig date: 
Thu Nov  9 11:23:51 1995
 
diff -u --recursive --new-file v1.3.39/linux/fs/exec.c linux/fs/exec.c
@@ -82,7 +82,8 @@
 			return -EBUSY;
 		tmp = &(*tmp)->next;
 	}
-	*tmp = fmt;
+	fmt->next = formats;
+	formats = fmt;
 	return 0;	
 }
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this