--- src/sys/boot/ia64/libski/devicename.c 2003/11/10 06:08:37 1.1 +++ src/sys/boot/ia64/libski/devicename.c 2007/06/18 05:13:41 1.2 @@ -29,7 +29,7 @@ #include #include -#include +#include #include "bootstrap.h" #include "libski.h" @@ -131,7 +131,7 @@ ski_parsedev(struct ski_devdesc **dev, c } if (*cp && (*cp != ':')) { partition = *cp - 'a'; /* get a partition number */ - if ((partition < 0) || (partition >= MAXPARTITIONS)) { + if ((partition < 0) || (partition >= MAXPARTITIONS32)) { err = EPART; goto fail; }