wok-next diff syslinux/stuff/iso2exe/boot.c @ rev 14268

syslinux/iso2exe: do not overload (setup) version in bootlinux.c
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 04 11:19:19 2013 +0200 (2013-04-04)
parents bf8be127c60b
children 647e4ebbbcae
line diff
     1.1 --- a/syslinux/stuff/iso2exe/boot.c	Mon Apr 01 09:45:40 2013 +0200
     1.2 +++ b/syslinux/stuff/iso2exe/boot.c	Thu Apr 04 11:19:19 2013 +0200
     1.3 @@ -88,7 +88,9 @@
     1.4  	char *kernel, *initrd, *cmdline, *cmdfile, *s;
     1.5  	
     1.6  	argv[0] = progname();
     1.7 -	bootiso(argv + (argc == 2));	// iso ? parsing is /init.exe stuff !
     1.8 +	bootiso(argv);	// iso ? parsing is /init.exe stuff !
     1.9 +	if (argc == 2)
    1.10 +		bootiso(argv + 1);
    1.11  
    1.12  	chdirname(*argv);
    1.13  	cmdfile = "tazboot.cmd";