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 ac298ab6c976b5f5bcbcbaf0b6f7474d6a9cc80e..03c9315f9aa7c68b68d3ab9c549da58f3da2fdd8 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 4840a2a23c73f2c74b9328ea51a4bae5c75802d8..9a11eaad55e53df9c410efe3330660e244e78af4 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;
        }