summaryrefslogtreecommitdiff
path: root/lib/libdisk/create_chunk.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libdisk/create_chunk.c')
-rw-r--r--lib/libdisk/create_chunk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libdisk/create_chunk.c b/lib/libdisk/create_chunk.c
index 8a58e0e678c5..a1e1a7e91a0a 100644
--- a/lib/libdisk/create_chunk.c
+++ b/lib/libdisk/create_chunk.c
@@ -267,7 +267,7 @@ MakeDev(struct chunk *c1, const char *path)
cmaj = 118, p += 3;
else if (!strncmp(p, "fla", 3))
cmaj = 102, p += 3;
- else if (!strncmp(p, "ida", 3))
+ else if (!strncmp(p, "idad", 4))
cmaj = 109, p += 3;
else if (!strncmp(p, "mlxd", 4))
cmaj = 131, p += 4;