aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util-linux/losetup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util-linux/losetup.c b/util-linux/losetup.c
index e2ea538d5..c94456522 100644
--- a/util-linux/losetup.c
+++ b/util-linux/losetup.c
@@ -50,6 +50,7 @@ losetup_main (int argc, char **argv)
|| (!delete && optind + 2 != argc))
bb_show_usage();
+ opt = 0;
if (delete)
return del_loop (argv[optind]) ? EXIT_SUCCESS : EXIT_FAILURE;
else