wok diff busybox/stuff/busybox-1.22-losetup.u @ rev 16345

Up: slitaz-configs (5.3) With new Slitaz Tiny Screen desktop files and tools
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 12 20:04:10 2014 +0200 (2014-04-12)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/busybox/stuff/busybox-1.22-losetup.u	Sat Apr 12 20:04:10 2014 +0200
     1.3 @@ -0,0 +1,12 @@
     1.4 +keep previous default behaviour
     1.5 +--- busybox-1.22.0/util-linux/losetup.c
     1.6 ++++ busybox-1.22.0/util-linux/losetup.c
     1.7 +@@ -70,7 +70,7 @@
     1.8 + 	}
     1.9 + 
    1.10 + 	/* -a */
    1.11 +-	if (opt == OPT_a) {
    1.12 ++	if (opt == OPT_a || (!opt && !argv[0])) {
    1.13 + 		int n;
    1.14 + 		for (n = 0; n < MAX_LOOP_NUM; n++) {
    1.15 + 			char *s;