chiark / gitweb /
volume_id: fix endianess conversion typo for FAT32
authorKay Sievers <kay.sievers@suse.de>
Wed, 5 Apr 2006 15:31:49 +0000 (17:31 +0200)
committerKay Sievers <kay.sievers@suse.de>
Wed, 5 Apr 2006 15:31:49 +0000 (17:31 +0200)
extras/volume_id/lib/Makefile
extras/volume_id/lib/fat.c

index ac298ab..03c9315 100644 (file)
@@ -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)
 
index 4840a2a..9a11eaa 100644 (file)
@@ -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;
        }