From 818180cdfcff84b9048ecdc5dc86323f0fefba24 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sat, 27 Jun 1998 05:11:14 +0000 Subject: ChangeLog, debugfs.8.in, debugfs.c: Add a -V option which displays the current version. ChangeLog, unix.c: unix.c (e2fsck_update_progress): Remove unused variables. ChangeLog, inode.c: inode.c (get_next_blockgroup): Fix bug where if get_next_blockgroup() is called early because of a missing inode table in a block group, the current_inode counter wasn't incremented correctly. ChangeLog, tst_uuid.c: tst_uuid.c (main): Fixed bogus declaration of the main's argv parameter. ChangeLog, test_icount.c: test_icount.c (main): Fix main() declaration so that it returns int, not void. Many files: fsck.c (ignore): Remove unused variable cp. chattr.c (fatal_error): tune2fs.c (usage): lsattr.c (usage): dumpe2fs.c (usage): badblocks.c (usage): Remove volatile from declaration. fsck.c: Change use of strdup to be string_copy, since we don't trust what glibc is doing with strdup. (Whatever it is, it isn't pretty.) --- misc/chattr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'misc/chattr.c') diff --git a/misc/chattr.c b/misc/chattr.c index 7f40f885..c8c92453 100644 --- a/misc/chattr.c +++ b/misc/chattr.c @@ -51,13 +51,13 @@ unsigned long af; unsigned long rf; unsigned long sf; -static void volatile fatal_error (const char * fmt_string, int errcode) +static void fatal_error(const char * fmt_string, int errcode) { fprintf (stderr, fmt_string, program_name); exit (errcode); } -#define usage() fatal_error ("usage: %s [-RV] [-+=AacdisSu] [-v version] files...\n", \ +#define usage() fatal_error("usage: %s [-RV] [-+=AacdisSu] [-v version] files...\n", \ 1) static int decode_arg (int * i, int argc, char ** argv) -- cgit v1.2.3