mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-16 23:57:54 +01:00
Fix my own Pie Floater.
(Correctly handle 'wd' devices)
This commit is contained in:
parent
61bdb7bc9b
commit
5ca13e05f7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=47090
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user