From 494dc6bbe2f7886ff8ef513f960d81c48b82a385 Mon Sep 17 00:00:00 2001 From: Eivind Eklund Date: Sun, 13 Dec 1998 23:25:29 +0000 Subject: [PATCH] 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. --- sys/i386/isa/labpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/i386/isa/labpc.c b/sys/i386/isa/labpc.c index 30beb2d5344e..e893a21fbd40 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;