patch-2.0.4 linux/arch/ppc/boot/cortstrip.c
Next file: linux/arch/ppc/kernel/Makefile
Previous file: linux/arch/ppc/boot/compressed/Makefile
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Jul 8 11:27:42 1996
- Orig file:
v2.0.3/linux/arch/ppc/boot/cortstrip.c
- Orig date:
Sat Dec 30 15:48:22 1995
diff -u --recursive --new-file v2.0.3/linux/arch/ppc/boot/cortstrip.c linux/arch/ppc/boot/cortstrip.c
@@ -35,7 +35,7 @@
exit(-1);
}
- fdo = open(argv[2], O_WRONLY|O_CREAT);
+ fdo = open(argv[2], O_WRONLY|O_CREAT|O_TRUNC,0755);
if ( fdo == -1 )
{
fprintf(stderr,"Couldn't open %s\n", argv[2]);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov