diff options
Diffstat (limited to 'util-linux/losetup.c')
-rw-r--r-- | util-linux/losetup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/losetup.c b/util-linux/losetup.c index ac8b79502..24f7a2349 100644 --- a/util-linux/losetup.c +++ b/util-linux/losetup.c | |||
@@ -150,7 +150,7 @@ int losetup_main(int argc UNUSED_PARAM, char **argv) | |||
150 | if (opt & OPT_P) { | 150 | if (opt & OPT_P) { |
151 | flags |= BB_LO_FLAGS_PARTSCAN; | 151 | flags |= BB_LO_FLAGS_PARTSCAN; |
152 | } | 152 | } |
153 | if (set_loop(&d, argv[0], offset, flags) < 0) | 153 | if (set_loop(&d, argv[0], offset, 0, flags) < 0) |
154 | bb_simple_perror_msg_and_die(argv[0]); | 154 | bb_simple_perror_msg_and_die(argv[0]); |
155 | return EXIT_SUCCESS; | 155 | return EXIT_SUCCESS; |
156 | } | 156 | } |