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.
This commit is contained in:
Eivind Eklund 1998-12-13 23:25:29 +00:00
parent 9501b6d6b8
commit 494dc6bbe2

View File

@ -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;