diff options
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/losetup.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/util-linux/losetup.c b/util-linux/losetup.c index b220c98..b1e4b08 100644 --- a/util-linux/losetup.c +++ b/util-linux/losetup.c @@ -45,9 +45,11 @@ int losetup_main(int argc, char **argv) bb_perror_nomsg_and_die(); } else if (argc == 1) { char *s = query_loop(argv[0]); - if (!s) bb_perror_nomsg_and_die(); + if (!s) + bb_perror_nomsg_and_die(); printf("%s: %s\n", argv[0], s); - if (ENABLE_FEATURE_CLEAN_UP) free(s); + if (ENABLE_FEATURE_CLEAN_UP) + free(s); } else { char dev[sizeof(LOOP_NAME"0")] = LOOP_NAME"0"; char c; @@ -57,7 +59,8 @@ int losetup_main(int argc, char **argv) s = query_loop(dev); if (s) { printf("%s: %s\n", dev, s); - if (ENABLE_FEATURE_CLEAN_UP) free(s); + if (ENABLE_FEATURE_CLEAN_UP) + free(s); } } } |