diff options
Diffstat (limited to 'util-linux/fsck_minix.c')
-rw-r--r-- | util-linux/fsck_minix.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/util-linux/fsck_minix.c b/util-linux/fsck_minix.c index d332b6b0a..3a691476e 100644 --- a/util-linux/fsck_minix.c +++ b/util-linux/fsck_minix.c | |||
@@ -279,7 +279,7 @@ static void leave(int status) | |||
279 | 279 | ||
280 | static void die(const char *str) | 280 | static void die(const char *str) |
281 | { | 281 | { |
282 | error_msg("%s", str); | 282 | bb_error_msg("%s", str); |
283 | leave(8); | 283 | leave(8); |
284 | } | 284 | } |
285 | 285 | ||
@@ -1344,7 +1344,7 @@ extern int fsck_minix_main(int argc, char **argv) | |||
1344 | argv++; | 1344 | argv++; |
1345 | if (argv[0][0] != '-') { | 1345 | if (argv[0][0] != '-') { |
1346 | if (device_name) | 1346 | if (device_name) |
1347 | show_usage(); | 1347 | bb_show_usage(); |
1348 | else | 1348 | else |
1349 | device_name = argv[0]; | 1349 | device_name = argv[0]; |
1350 | } else | 1350 | } else |
@@ -1374,11 +1374,11 @@ extern int fsck_minix_main(int argc, char **argv) | |||
1374 | force = 1; | 1374 | force = 1; |
1375 | break; | 1375 | break; |
1376 | default: | 1376 | default: |
1377 | show_usage(); | 1377 | bb_show_usage(); |
1378 | } | 1378 | } |
1379 | } | 1379 | } |
1380 | if (!device_name) | 1380 | if (!device_name) |
1381 | show_usage(); | 1381 | bb_show_usage(); |
1382 | check_mount(); /* trying to check a mounted filesystem? */ | 1382 | check_mount(); /* trying to check a mounted filesystem? */ |
1383 | if (repair && !automatic) { | 1383 | if (repair && !automatic) { |
1384 | if (!isatty(0) || !isatty(1)) | 1384 | if (!isatty(0) || !isatty(1)) |
@@ -1399,7 +1399,7 @@ extern int fsck_minix_main(int argc, char **argv) | |||
1399 | * flags and whether or not the -f switch was specified on the | 1399 | * flags and whether or not the -f switch was specified on the |
1400 | * command line. | 1400 | * command line. |
1401 | */ | 1401 | */ |
1402 | printf("%s, %s\n", applet_name, program_version); | 1402 | printf("%s, %s\n", bb_applet_name, program_version); |
1403 | if (!(Super.s_state & MINIX_ERROR_FS) && | 1403 | if (!(Super.s_state & MINIX_ERROR_FS) && |
1404 | (Super.s_state & MINIX_VALID_FS) && !force) { | 1404 | (Super.s_state & MINIX_VALID_FS) && !force) { |
1405 | if (repair) | 1405 | if (repair) |