From: Theodore Ts'o Date: Fri, 19 Nov 2004 19:28:01 +0000 (-0500) Subject: probe.c (probe_ocfs): Fix bug where the wrong size for "ocfs1" X-Git-Tag: E2FSPROGS-1_36~123 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4b8f81aace86dd308d5af4669eab116d1a8c8418;p=thirdparty%2Fe2fsprogs.git probe.c (probe_ocfs): Fix bug where the wrong size for "ocfs1" was being passed to blkid_set_tag(). Thanks to Andrea Dilger for pointing this out. --- diff --git a/lib/blkid/ChangeLog b/lib/blkid/ChangeLog index 0eace05e5..ba74f55bf 100644 --- a/lib/blkid/ChangeLog +++ b/lib/blkid/ChangeLog @@ -1,3 +1,9 @@ +2004-11-19 Theodore Ts'o + + * probe.c (probe_ocfs): Fix bug where the wrong size for "ocfs1" + was being passed to blkid_set_tag(). Thanks to Andrea + Dilger for pointing this out. + 2004-09-17 Theodore Ts'o * probe.c, probe.h: Add support for ocfs2 detection, courtesy of diff --git a/lib/blkid/probe.c b/lib/blkid/probe.c index 1256663f5..de0d75dde 100644 --- a/lib/blkid/probe.c +++ b/lib/blkid/probe.c @@ -327,7 +327,7 @@ static int probe_ocfs(int fd __BLKID_ATTR((unused)), major = ocfsmajor(ovh); if (major == 1) - blkid_set_tag(dev,"SEC_TYPE","ocfs1",sizeof("ocfs")); + blkid_set_tag(dev,"SEC_TYPE","ocfs1",sizeof("ocfs1")); else if (major >= 9) blkid_set_tag(dev,"SEC_TYPE","ntocfs",sizeof("ntocfs"));