Fix my own Pie Floater.

(Correctly handle 'wd' devices)
This commit is contained in:
Mike Smith 1999-05-12 23:50:50 +00:00
parent 61bdb7bc9b
commit 5ca13e05f7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=47090

View File

@ -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;