diff options
| author | Mike Smith <msmith@FreeBSD.org> | 1999-05-12 23:50:50 +0000 |
|---|---|---|
| committer | Mike Smith <msmith@FreeBSD.org> | 1999-05-12 23:50:50 +0000 |
| commit | 5ca13e05f766352a90f6bcaf3697a5b386392028 (patch) | |
| tree | 937ee4a8c460848e94a0ab0dcd06a3f414f11afc /lib/libdisk/create_chunk.c | |
| parent | 61bdb7bc9b3f26ee602b8d256234ed8ea7ca529c (diff) | |
Notes
Diffstat (limited to 'lib/libdisk/create_chunk.c')
| -rw-r--r-- | lib/libdisk/create_chunk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libdisk/create_chunk.c b/lib/libdisk/create_chunk.c index 5b9c6f4cb2b3..6824c889f12c 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; |
