summaryrefslogtreecommitdiffstats
path: root/src/ext2_sb.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-11-18 20:14:13 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2008-11-18 20:14:13 +0100
commit225976168a2f59bc1d0dfa58bf4f3e23ef253d55 (patch)
tree987d22b06c2fee71103ffe2bded5df1f239d1735 /src/ext2_sb.c
parent5cfae9ea3a0a5ec79335dc73b7671d038dc84dcf (diff)
ext2/ext3/ext4 superblock research, display partition name
Diffstat (limited to 'src/ext2_sb.c')
-rw-r--r--src/ext2_sb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ext2_sb.c b/src/ext2_sb.c
index 26b84ac..5edf475 100644
--- a/src/ext2_sb.c
+++ b/src/ext2_sb.c
@@ -76,9 +76,9 @@ int interface_superblock(disk_t *disk_car,list_part_t *list_part, char**current_
old_part=partition;
}
if(partition->blocksize!=0)
- screen_buffer_add("superblock %lu, blocksize=%u\n",
+ screen_buffer_add("superblock %lu, blocksize=%u [%s]\n",
(long unsigned)(partition->sb_offset/partition->blocksize),
- partition->blocksize);
+ partition->blocksize, partition->fsname);
}
screen_buffer_to_log();
if(*current_cmd==NULL)