]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
ChangeLog, dumpe2fs.c, mke2fs.c:
authorTheodore Ts'o <tytso@mit.edu>
Mon, 11 Sep 2000 17:01:35 +0000 (17:01 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 11 Sep 2000 17:01:35 +0000 (17:01 +0000)
  mke2fs.c (zap_sector): Fix error message printed when zap_sector
   fails.
  dumpe2fs.c (list_desc): Fixed format string bug when printing the
   inode table location in non-hex format.

misc/ChangeLog
misc/dumpe2fs.c
misc/mke2fs.c

index 9b3f68ca23c09cc7f9eaf0b53670d4c3a1f54669..a29764883f2cf678eb3a0fc33215ac5e51d6828d 100644 (file)
@@ -1,3 +1,11 @@
+2000-09-11    <tytso@valinux.com>
+
+       * mke2fs.c (zap_sector): Fix error message printed when zap_sector
+               fails. 
+
+       * dumpe2fs.c (list_desc): Fixed format string bug when printing
+               the inode table location in non-hex format.
+
 2000-08-20    <tytso@valinux.com>
 
        * get_device_by_label.c: Add call to ext2fs_find_block_device if
index 2f7ec139da4774eadc45e198921515efb5851c8c..17bf4c16f273b729412d9ad188baff07d49e63dc 100644 (file)
@@ -124,7 +124,7 @@ static void list_desc (ext2_filsys fs)
                        "Inode table at %04x-%04x (+%d)\n"):
                        _("  Block bitmap at %u (+%d), "
                        "Inode bitmap at %u (+%d)\n  "
-                       "Inode table at %u (+%d)\n"),
+                       "Inode table at %u-%u (+%d)\n"),
                        fs->group_desc[i].bg_block_bitmap,
                        fs->group_desc[i].bg_block_bitmap - group_blk,
                        fs->group_desc[i].bg_inode_bitmap,
index 8316ea512bff7e34478f2026ca6e388b49ad262c..0338a7f47153c83bd5e56491f35e28c558602ea3 100644 (file)
@@ -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 block 0: %s\n"),
+               printf(_("Warning: could not erase sector %d: %s\n", sect),
                       error_message(retval));
 }