mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=41745
@ -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