volume_id: fix endianess conversion typo for FAT32

This commit is contained in:
Kay Sievers 2006-04-05 17:31:49 +02:00
parent 7baada47be
commit 1017f139b3
2 changed files with 2 additions and 2 deletions

View 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)

View 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;
}