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:
parent
9501b6d6b8
commit
494dc6bbe2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user