mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
Added the missing bzero after the malloc in aha1542.c that seems to
produce the mbox not free messages on many systems. Bug reported from hd@world.std.com.
This commit is contained in:
parent
38ff12a4b9
commit
3b25168637
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1227
@ -12,7 +12,7 @@
|
||||
* on the understanding that TFS is not responsible for the correct
|
||||
* functioning of this software in any circumstances.
|
||||
*
|
||||
* $Id: aha1542.c,v 1.19 1994/01/22 07:46:25 rgrimes Exp $
|
||||
* $Id: aha1542.c,v 1.20 1994/01/22 21:54:10 rgrimes Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -536,6 +536,7 @@ ahaprobe(dev)
|
||||
printf("aha%d: cannot malloc!\n", unit);
|
||||
return 0;
|
||||
}
|
||||
bzero(aha, sizeof(struct aha_data));
|
||||
ahadata[unit] = aha;
|
||||
aha->aha_base = dev->id_iobase;
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user