diff options
| author | Mike Smith <msmith@FreeBSD.org> | 2000-05-30 15:18:30 +0000 |
|---|---|---|
| committer | Mike Smith <msmith@FreeBSD.org> | 2000-05-30 15:18:30 +0000 |
| commit | 63117339447ba58d0c6a89d14e42aaa49cf1e714 (patch) | |
| tree | 951c6977461be7f09d7cf57b9d918d2e91148260 /lib/libdisk | |
| parent | eb3846c42092feec7d69ff698d3ee178c77646dc (diff) | |
Notes
Diffstat (limited to 'lib/libdisk')
| -rw-r--r-- | lib/libdisk/create_chunk.c | 4 | ||||
| -rw-r--r-- | lib/libdisk/disk.c | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/libdisk/create_chunk.c b/lib/libdisk/create_chunk.c index 929266477fe1..52734281266c 100644 --- a/lib/libdisk/create_chunk.c +++ b/lib/libdisk/create_chunk.c @@ -279,9 +279,7 @@ MakeDev(struct chunk *c1, const char *path) if (!strcmp(p, "X")) return 0; - if (!strncmp(p, "wd", 2)) - cmaj = 3, p += 2; - else if (!strncmp(p, "ad", 2)) + if (!strncmp(p, "ad", 2)) cmaj = 116, p += 2; else if (!strncmp(p, "wfd", 3)) cmaj = 87, p += 3; diff --git a/lib/libdisk/disk.c b/lib/libdisk/disk.c index 396dcfe3a1e6..b05571c47d9f 100644 --- a/lib/libdisk/disk.c +++ b/lib/libdisk/disk.c @@ -441,7 +441,7 @@ Collapse_Disk(struct disk *d) } #endif -static char * device_list[] = {"wd", "ad", "da", "afd", "fla", "idad", "mlxd", "amrd", "twed", "fd", 0}; +static char * device_list[] = {"ad", "da", "afd", "fla", "idad", "mlxd", "amrd", "twed", "fd", 0}; char ** Disk_Names() |
