From af76e7b9bcaf7ae8ca96282b53656faf8bb99dfa Mon Sep 17 00:00:00 2001 From: jlemon Date: Thu, 9 Mar 2000 15:05:20 +0000 Subject: [PATCH] Fix pointer addition bug (3 -> 4). Submitted by: david.w.james@bt.com --- lib/libdisk/create_chunk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libdisk/create_chunk.c b/lib/libdisk/create_chunk.c index a1e1a7e91a0..04e2a55bb38 100644 --- a/lib/libdisk/create_chunk.c +++ b/lib/libdisk/create_chunk.c @@ -268,7 +268,7 @@ MakeDev(struct chunk *c1, const char *path) else if (!strncmp(p, "fla", 3)) cmaj = 102, p += 3; else if (!strncmp(p, "idad", 4)) - cmaj = 109, p += 3; + cmaj = 109, p += 4; else if (!strncmp(p, "mlxd", 4)) cmaj = 131, p += 4; else if (!strncmp(p, "amrd", 4)) -- 2.45.2