wok diff syslinux/stuff/iso2exe/win32.c @ rev 21822
Remove unused kernel cmdline args root=/dev/null
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 25 18:00:45 2019 +0200 (2019-08-25) |
parents | addb674a634f |
children | 7744355508b9 |
line diff
1.1 --- a/syslinux/stuff/iso2exe/win32.c Mon May 13 09:46:40 2019 +0200 1.2 +++ b/syslinux/stuff/iso2exe/win32.c Sun Aug 25 18:00:45 2019 +0200 1.3 @@ -167,7 +167,7 @@ 1.4 const char pifFileName[] = "slitaz.pif"; 1.5 1.6 strcpy(PIF_content.s0.program_filename, isoFileName); 1.7 - fd = open(pifFileName, O_WRONLY|O_BINARY|O_CREAT,0555); 1.8 + fd = open(pifFileName, O_WRONLY|O_BINARY|O_CREAT|O_TRUNC,0555); 1.9 write(fd,&PIF_content,sizeof(PIF_content)); 1.10 close(fd); 1.11 WinExec(pifFileName, SW_MINIMIZE);