diff options
author | scottl <scottl@FreeBSD.org> | 2007-06-17 15:21:09 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2007-06-17 15:21:09 +0000 |
commit | 70ec3eb958f5f012f611192962128aa76b3b4f0c (patch) | |
tree | 6538245c317623180bec6a7d6aee6a475beb2a5f /sys/dev/ahb | |
parent | dfd8d06806228c14d0c9359d5440df2ebd317860 (diff) | |
download | FreeBSD-src-70ec3eb958f5f012f611192962128aa76b3b4f0c.zip FreeBSD-src-70ec3eb958f5f012f611192962128aa76b3b4f0c.tar.gz |
Fix a compile error from the last change.
Diffstat (limited to 'sys/dev/ahb')
-rw-r--r-- | sys/dev/ahb/ahb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ahb/ahb.c b/sys/dev/ahb/ahb.c index dc0f933..10ecd6d 100644 --- a/sys/dev/ahb/ahb.c +++ b/sys/dev/ahb/ahb.c @@ -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); |