diff options
author | Kay Sievers <kay.sievers@suse.de> | 2006-04-05 17:31:49 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2006-04-05 17:31:49 +0200 |
commit | 1017f139b311d7185f57f803c176f191e6d0ce3b (patch) | |
tree | 74ed5f6b272c550e0f931b97ff73cfda8c54ea04 | |
parent | 7baada47bea60dd192067fd36778a77481a3ed3a (diff) |
volume_id: fix endianess conversion typo for FAT32
-rw-r--r-- | extras/volume_id/lib/Makefile | 2 | ||||
-rw-r--r-- | extras/volume_id/lib/fat.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/extras/volume_id/lib/Makefile b/extras/volume_id/lib/Makefile index ac298ab6c9..03c9315f9a 100644 --- a/extras/volume_id/lib/Makefile +++ b/extras/volume_id/lib/Makefile @@ -13,7 +13,7 @@ INSTALL_DATA = ${INSTALL} -m 644 INSTALL_LIB = ${INSTALL} -m 755 SHLIB_CUR = 0 -SHLIB_REV = 61 +SHLIB_REV = 62 SHLIB_AGE = 0 SHLIB = libvolume_id.so.$(SHLIB_CUR).$(SHLIB_REV).$(SHLIB_AGE) diff --git a/extras/volume_id/lib/fat.c b/extras/volume_id/lib/fat.c index 4840a2a23c..9a11eaad55 100644 --- a/extras/volume_id/lib/fat.c +++ b/extras/volume_id/lib/fat.c @@ -321,7 +321,7 @@ fat32: goto found; /* set next cluster */ - next = le32_to_cpu(*((uint32_t *) buf) & 0x0fffffff); + next = le32_to_cpu(*((uint32_t *) buf)) & 0x0fffffff; if (next == 0) break; } |