diff options
author | eivind <eivind@FreeBSD.org> | 1998-12-13 23:25:29 +0000 |
---|---|---|
committer | eivind <eivind@FreeBSD.org> | 1998-12-13 23:25:29 +0000 |
commit | 544e5b8db6c7048c84b81639a867397cdce63b1c (patch) | |
tree | 1977d53c202560d64c339c90de6ccca6ab90a054 /sys/i386/isa/labpc.c | |
parent | d6b94b79c0d80dab1e9f413831813f4c4f97b654 (diff) | |
download | FreeBSD-src-544e5b8db6c7048c84b81639a867397cdce63b1c.zip FreeBSD-src-544e5b8db6c7048c84b81639a867397cdce63b1c.tar.gz |
Fix typo - sizeof(struct crtl *) -> sizeof(struct ctrl *).
XXX This still assume that bzero() over a field create null-pointers,
which seems a chancy proposition at best.
Diffstat (limited to 'sys/i386/isa/labpc.c')
-rw-r--r-- | sys/i386/isa/labpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/isa/labpc.c b/sys/i386/isa/labpc.c index 30beb2d..e893a21 100644 --- a/sys/i386/isa/labpc.c +++ b/sys/i386/isa/labpc.c @@ -399,7 +399,7 @@ labpcinit(void) labpcs = malloc(NLABPC * sizeof(struct ctlr *), M_DEVBUF, M_NOWAIT); if (labpcs) { - bzero(labpcs, NLABPC * sizeof(struct cltr *)); + bzero(labpcs, NLABPC * sizeof(struct ctlr *)); return 1; } return 0; |