Added the missing bzero after the malloc in aha1542.c that seems to
[unix-history] / sys / i386 / isa / aha1542.c
index c917497..53929f4 100644 (file)
@@ -12,7 +12,7 @@
  * on the understanding that TFS is not responsible for the correct
  * functioning of this software in any circumstances.
  *
  * 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;
        }
                printf("aha%d: cannot malloc!\n", unit);
                return 0;
        }
+       bzero(aha, sizeof(struct aha_data));
        ahadata[unit] = aha;
        aha->aha_base = dev->id_iobase;
        /*
        ahadata[unit] = aha;
        aha->aha_base = dev->id_iobase;
        /*