summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2001-02-08 05:45:17 +0000
committerTheodore Ts'o <tytso@mit.edu>2001-02-08 05:45:17 +0000
commitc5423c5b3ea549d96d1b3315a96b5b58beca75cd (patch)
treeaadfd37e6a3a2e2a998eb127837f3e75e6ec697d /lib
parent6e34328156a2531a1ee13418f41cb3b58161483d (diff)
downloade2fsprogs-c5423c5b3ea549d96d1b3315a96b5b58beca75cd.tar.gz
ChangeLog, e2image.c:
e2image.c (main): Add code to write the e2image header. ChangeLog, e2image.h: e2image.h (struct ext2_image_hdr): Fix type for fs_hostname
Diffstat (limited to 'lib')
-rw-r--r--lib/ext2fs/ChangeLog4
-rw-r--r--lib/ext2fs/e2image.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/ext2fs/ChangeLog b/lib/ext2fs/ChangeLog
index c22cec83..ee128cac 100644
--- a/lib/ext2fs/ChangeLog
+++ b/lib/ext2fs/ChangeLog
@@ -1,3 +1,7 @@
+2001-02-08 Theodore Tso <tytso@valinux.com>
+
+ * e2image.h (struct ext2_image_hdr): Fix type for fs_hostname
+
2001-02-07 Theodore Tso <tytso@valinux.com>
* mkjournal.c (ext2fs_create_journal_superblock): Fix the setting
diff --git a/lib/ext2fs/e2image.h b/lib/ext2fs/e2image.h
index c72c29dd..75d7c044 100644
--- a/lib/ext2fs/e2image.h
+++ b/lib/ext2fs/e2image.h
@@ -16,7 +16,7 @@
struct ext2_image_hdr {
__u32 magic_number; /* This must be EXT2_ET_MAGIC_E2IMAGE */
char magic_descriptor[16]; /* "Ext2 Image 1.0", w/ null padding */
- __u32 fs_hostname[64];/* Hostname of machine of image */
+ char fs_hostname[64];/* Hostname of machine of image */
char fs_netaddr[32]; /* Network address */
__u32 fs_netaddr_type;/* 0 = IPV4, 1 = IPV6, etc. */
__u32 fs_device; /* Device number of image */