--- src/sys/boot/pc32/libi386/devicename.c 2003/11/10 06:08:36 1.3 +++ src/sys/boot/pc32/libi386/devicename.c 2007/06/18 05:13:42 1.4 @@ -29,7 +29,7 @@ #include #include -#include +#include #include "bootstrap.h" #include "libi386.h" @@ -130,7 +130,7 @@ i386_parsedev(struct i386_devdesc **dev, } if (*cp && (*cp != ':')) { partition = *cp - 'a'; /* get a partition number */ - if ((partition < 0) || (partition >= MAXPARTITIONS)) { + if ((partition < 0) || (partition >= MAXPARTITIONS32)) { err = EPART; goto fail; }