From e294cf2f6409aeede04316b1268f3e78a83509d0 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Tue, 24 Oct 2000 18:41:44 +0000 Subject: [PATCH] ChangeLog, mke2fs.c: mke2fs.c (zap_sector): Fix really stupid typo which gcc 2.95 didn't catch. --- misc/ChangeLog | 5 +++++ misc/mke2fs.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/misc/ChangeLog b/misc/ChangeLog index da4b457..745b25a 100644 --- a/misc/ChangeLog +++ b/misc/ChangeLog @@ -1,3 +1,8 @@ +2000-10-24 + + * mke2fs.c (zap_sector): Fix really stupid typo which gcc 2.95 + didn't catch. + 2000-09-12 * fsck.c: Add base device definitions for hd[e-h], for those diff --git a/misc/mke2fs.c b/misc/mke2fs.c index 0338a7f..23e92b4 100644 --- a/misc/mke2fs.c +++ b/misc/mke2fs.c @@ -559,7 +559,7 @@ static void zap_sector(ext2_filsys fs, int sect) retval = io_channel_write_blk(fs->io, sect, -512, buf); io_channel_set_blksize(fs->io, fs->blocksize); if (retval) - printf(_("Warning: could not erase sector %d: %s\n", sect), + printf(_("Warning: could not erase sector %d: %s\n"), sect, error_message(retval)); } -- 1.8.3.1