From 1f6dc6d35803dd1cf28653a0b521a26084ef3d43 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 30 Mar 2006 13:54:30 +0000 Subject: - rename clean_up in tune2fs and mke2fs to be prefixed with their applet names. Purely cosmetic to ease readability. --- e2fsprogs/tune2fs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'e2fsprogs/tune2fs.c') 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) #define do_findfs(x, y) #endif -static void clean_up(void) +static void tune2fs_clean_up(void) { if (ENABLE_FEATURE_CLEAN_UP && device_name) free(device_name); if (ENABLE_FEATURE_CLEAN_UP && journal_device) free(journal_device); @@ -593,7 +593,7 @@ int tune2fs_main(int argc, char **argv) io_manager io_ptr; if (ENABLE_FEATURE_CLEAN_UP) - atexit(clean_up); + atexit(tune2fs_clean_up); if (ENABLE_FINDFS && (bb_applet_name[0] == 'f')) /* findfs */ do_findfs(argc, argv); /* no return */ -- cgit v1.2.3