aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs/tune2fs.c
diff options
context:
space:
mode:
Diffstat (limited to 'e2fsprogs/tune2fs.c')
-rw-r--r--e2fsprogs/tune2fs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/e2fsprogs/tune2fs.c b/e2fsprogs/tune2fs.c
index f228c56aa..2bd9a65ae 100644
--- a/e2fsprogs/tune2fs.c
+++ b/e2fsprogs/tune2fs.c
@@ -579,7 +579,7 @@ static ATTRIBUTE_NORETURN void do_findfs(int argc, char **argv)
579#define do_findfs(x, y) 579#define do_findfs(x, y)
580#endif 580#endif
581 581
582static void clean_up(void) 582static void tune2fs_clean_up(void)
583{ 583{
584 if (ENABLE_FEATURE_CLEAN_UP && device_name) free(device_name); 584 if (ENABLE_FEATURE_CLEAN_UP && device_name) free(device_name);
585 if (ENABLE_FEATURE_CLEAN_UP && journal_device) free(journal_device); 585 if (ENABLE_FEATURE_CLEAN_UP && journal_device) free(journal_device);
@@ -593,7 +593,7 @@ int tune2fs_main(int argc, char **argv)
593 io_manager io_ptr; 593 io_manager io_ptr;
594 594
595 if (ENABLE_FEATURE_CLEAN_UP) 595 if (ENABLE_FEATURE_CLEAN_UP)
596 atexit(clean_up); 596 atexit(tune2fs_clean_up);
597 597
598 if (ENABLE_FINDFS && (bb_applet_name[0] == 'f')) /* findfs */ 598 if (ENABLE_FINDFS && (bb_applet_name[0] == 'f')) /* findfs */
599 do_findfs(argc, argv); /* no return */ 599 do_findfs(argc, argv); /* no return */