diff options
author | Karel Zak <kzak@redhat.com> | 2013-10-01 17:21:12 +0200 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2013-10-01 17:21:12 +0200 |
commit | 3b41176384f5e48515cf490b2aa3f9bb1fd7ae92 (patch) | |
tree | 6e0437cd1b72d7f11de6c49adb913808485c757a /libblkid | |
parent | 1d4d4b42e612081d7c1a066119361ff1184b3318 (diff) | |
download | util-linux-3b41176384f5e48515cf490b2aa3f9bb1fd7ae92.tar.gz |
libblkid: use proper type in xfs log checker [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libblkid')
-rw-r--r-- | libblkid/src/superblocks/xfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libblkid/src/superblocks/xfs.c b/libblkid/src/superblocks/xfs.c index cea1faa3..b4859171 100644 --- a/libblkid/src/superblocks/xfs.c +++ b/libblkid/src/superblocks/xfs.c @@ -92,7 +92,7 @@ struct xlog_rec_header { static int xlog_valid_rec_header(struct xlog_rec_header *rhead) { - int hlen; + uint32_t hlen; if (rhead->h_magicno != cpu_to_be32(XLOG_HEADER_MAGIC_NUM)) return 0; |