aboutsummaryrefslogtreecommitdiff
path: root/util-linux/losetup.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/losetup.c')
-rw-r--r--util-linux/losetup.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/util-linux/losetup.c b/util-linux/losetup.c
index f03889663..c2d3339e0 100644
--- a/util-linux/losetup.c
+++ b/util-linux/losetup.c
@@ -31,16 +31,16 @@ die_failed:
31 case -1: 31 case -1:
32 /* losetup takes two argument:, loop_device and file */ 32 /* losetup takes two argument:, loop_device and file */
33 if(optind+2==argc) { 33 if(optind+2==argc) {
34 if(set_loop(&argv[optind], argv[optind + 1], offset)>=0) 34 if(set_loop(&argv[optind], argv[optind + 1], offset)>=0)
35 return EXIT_SUCCESS; 35 return EXIT_SUCCESS;
36 else goto die_failed; 36 else goto die_failed;
37 } 37 }
38 if(optind+1==argc) { 38 if(optind+1==argc) {
39 char *s=query_loop(argv[optind]); 39 char *s=query_loop(argv[optind]);
40 if (!s) goto die_failed; 40 if (!s) goto die_failed;
41 printf("%s: %s\n",argv[optind],s); 41 printf("%s: %s\n",argv[optind],s);
42 if(ENABLE_FEATURE_CLEAN_UP) free(s); 42 if(ENABLE_FEATURE_CLEAN_UP) free(s);
43 return EXIT_SUCCESS; 43 return EXIT_SUCCESS;
44 } 44 }
45 break; 45 break;
46 } 46 }