summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>1999-05-12 23:50:50 +0000
committermsmith <msmith@FreeBSD.org>1999-05-12 23:50:50 +0000
commit54b816ccbaba15fb183546271031b6195cb946ba (patch)
tree5ddc63fa03cafe80cbd43cc16db3e956410c076e /lib
parent20b81702c7b5e256780ed9a42fbe5916a42db42c (diff)
downloadFreeBSD-src-54b816ccbaba15fb183546271031b6195cb946ba.zip
FreeBSD-src-54b816ccbaba15fb183546271031b6195cb946ba.tar.gz
Fix my own Pie Floater.
(Correctly handle 'wd' devices)
Diffstat (limited to 'lib')
-rw-r--r--lib/libdisk/create_chunk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libdisk/create_chunk.c b/lib/libdisk/create_chunk.c
index 5b9c6f4..6824c88 100644
--- a/lib/libdisk/create_chunk.c
+++ b/lib/libdisk/create_chunk.c
@@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $Id: create_chunk.c,v 1.34 1999/01/14 21:48:13 phk Exp $
+ * $Id: create_chunk.c,v 1.35 1999/05/04 22:44:47 msmith Exp $
*
*/
@@ -260,7 +260,7 @@ MakeDev(struct chunk *c1, const char *path)
if (!strncmp(p, "wd", 2))
bmaj = 0, cmaj = 3, p += 2;
- if (!strncmp(p, "ad", 2)) /* XXX change if "ad' moves */
+ else if (!strncmp(p, "ad", 2)) /* XXX change if "ad' moves */
bmaj = 0, cmaj = 3, p += 2;
else if (!strncmp(p, "sd", 2))
bmaj = 4, cmaj = 13, p += 2;
OpenPOWER on IntegriCloud