wok view 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 source
1 keep previous default behaviour
2 --- busybox-1.22.0/util-linux/losetup.c
3 +++ busybox-1.22.0/util-linux/losetup.c
4 @@ -70,7 +70,7 @@
5 }
7 /* -a */
8 - if (opt == OPT_a) {
9 + if (opt == OPT_a || (!opt && !argv[0])) {
10 int n;
11 for (n = 0; n < MAX_LOOP_NUM; n++) {
12 char *s;