From: Theodore Ts'o Date: Tue, 17 Apr 2001 01:01:49 +0000 (+0000) Subject: ChangeLog, mke2fs.c, tune2fs.c: X-Git-Tag: E2FSPROGS-1_20~87 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=1d08d9bfc225543eaf12bee7cf655124f66f43e4;p=tools%2Fe2fsprogs.git ChangeLog, mke2fs.c, tune2fs.c: mke2fs.c, tune2fs.c: Add newlines to error messages so that they look nicer. --- diff --git a/misc/ChangeLog b/misc/ChangeLog index 4aeef8c..4742d8b 100644 --- a/misc/ChangeLog +++ b/misc/ChangeLog @@ -1,3 +1,8 @@ +2001-04-16 Theodore Tso + + * mke2fs.c, tune2fs.c: Add newlines to error messages so that they + look nicer. + 2001-03-26 Theodore Tso * mke2fs.8.in, tune2fs.8.in: Change man paegs to document that the diff --git a/misc/mke2fs.c b/misc/mke2fs.c index 9f9f332..bf93636 100644 --- a/misc/mke2fs.c +++ b/misc/mke2fs.c @@ -583,7 +583,7 @@ static void create_journal_dev(ext2_filsys fs) &progress, &blk, &count); if (retval) { com_err("create_journal_dev", retval, - "while zeroing journal device (block %u, count %d", + "while zeroing journal device (block %u, count %d)", blk, count); exit(1); } @@ -1208,7 +1208,7 @@ int main (int argc, char *argv[]) retval = ext2fs_add_journal_device(fs, jfs); if(retval) { com_err (program_name, retval, - _("while trying to add journal to device %s"), + _("\n\twhile trying to add journal to device %s"), journal_device); exit(1); } @@ -1232,7 +1232,7 @@ int main (int argc, char *argv[]) journal_flags); if (retval) { com_err (program_name, retval, - _("while trying to create journal")); + _("\n\twhile trying to create journal")); exit(1); } if (!quiet) diff --git a/misc/tune2fs.c b/misc/tune2fs.c index 401e27c..096726d 100644 --- a/misc/tune2fs.c +++ b/misc/tune2fs.c @@ -283,7 +283,7 @@ static void add_journal(ext2_filsys fs) fs->blocksize, unix_io_manager, &jfs); if (retval) { com_err(program_name, retval, - _("while trying to open journal device %s\n"), + _("\n\twhile trying to open journal on %s\n"), journal_device); exit(1); } @@ -310,10 +310,10 @@ static void add_journal(ext2_filsys fs) if (retval) { printf("\n"); com_err(program_name, retval, - _("while trying to create journal")); + _("\n\twhile trying to create journal file")); exit(1); - } - printf(_("done\n")); + } else + printf(_("done\n")); /* * If the filesystem wasn't mounted, we need to force * the block group descriptors out.