chiark / gitweb /
volume_id: fix endianess conversion typo for FAT32
[elogind.git] / extras / volume_id / lib / fat.c
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;
        }