diff options
Diffstat (limited to 'fsck_minix.c')
-rw-r--r-- | fsck_minix.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fsck_minix.c b/fsck_minix.c index c3c493fd2..f980fe9ea 100644 --- a/fsck_minix.c +++ b/fsck_minix.c | |||
@@ -1319,7 +1319,7 @@ static void alloc_name_list(void) | |||
1319 | name_list[i] = xmalloc(sizeof(char) * BUFSIZ + 1); | 1319 | name_list[i] = xmalloc(sizeof(char) * BUFSIZ + 1); |
1320 | } | 1320 | } |
1321 | 1321 | ||
1322 | #if 0 | 1322 | #ifdef BB_FEATURE_CLEAN_UP |
1323 | /* execute this atexit() to deallocate name_list[] */ | 1323 | /* execute this atexit() to deallocate name_list[] */ |
1324 | /* piptigger was here */ | 1324 | /* piptigger was here */ |
1325 | static void free_name_list(void) | 1325 | static void free_name_list(void) |
@@ -1344,9 +1344,11 @@ extern int fsck_minix_main(int argc, char **argv) | |||
1344 | int retcode = 0; | 1344 | int retcode = 0; |
1345 | 1345 | ||
1346 | alloc_name_list(); | 1346 | alloc_name_list(); |
1347 | #ifdef BB_FEATURE_CLEAN_UP | ||
1347 | /* Don't bother to free memory. Exit does | 1348 | /* Don't bother to free memory. Exit does |
1348 | * that automagically, so we can save a few bytes */ | 1349 | * that automagically, so we can save a few bytes */ |
1349 | //atexit(free_name_list); | 1350 | atexit(free_name_list); |
1351 | #endif | ||
1350 | 1352 | ||
1351 | if (INODE_SIZE * MINIX_INODES_PER_BLOCK != BLOCK_SIZE) | 1353 | if (INODE_SIZE * MINIX_INODES_PER_BLOCK != BLOCK_SIZE) |
1352 | die("bad inode size"); | 1354 | die("bad inode size"); |