Fix a compile error from the last change.

This commit is contained in:
Scott Long 2007-06-17 15:21:09 +00:00
parent b8a1761e07
commit 846199b736
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=170883

View File

@ -409,7 +409,7 @@ ahballoc(device_t dev, struct resource *res)
*/
ahb = malloc(sizeof(struct ahb_softc), M_DEVBUF, M_NOWAIT | M_ZERO);
if (!ahb) {
printf("ahb%ld: cannot malloc!\n", unit);
device_printf(dev, "cannot malloc!\n");
return (NULL);
}
SLIST_INIT(&ahb->free_ecbs);