chiark / gitweb /
[PATCH] udev_volume_id: fix typo
[elogind.git] / extras / volume_id / volume_id / fat / fat.c
index 219207e81dc491a0a3cbc636405e124d76cb134f..7c658fe5f41ced7891d7b9c62a2938fbe73e7fc6 100644 (file)
@@ -159,6 +159,8 @@ int volume_id_probe_vfat(struct volume_id *id, __u64 off)
        __u32 next;
        int maxloop;
 
+       dbg("probing at offset %llu", off);
+
        vs = (struct vfat_super_block *) volume_id_get_buffer(id, off, 0x200);
        if (vs == NULL)
                return -1;
@@ -343,7 +345,7 @@ fat32:
        volume_id_set_uuid(id, vs->type.fat32.serno, UUID_DOS);
 
 found:
-       volume_id_set_usage(id, VOLUME_ID_DISKLABEL);
+       volume_id_set_usage(id, VOLUME_ID_FILESYSTEM);
        id->type = "vfat";
 
        return 0;