diff options
author | dg <dg@FreeBSD.org> | 1994-12-22 23:42:25 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1994-12-22 23:42:25 +0000 |
commit | a88d789288cea6cc65a0f26dc03f6d4888b3f2e5 (patch) | |
tree | efe28df43be8dc2724a607b46a1858ba6be0201b | |
parent | cb6f19622ff3f337049d349a67388531a0df76c6 (diff) | |
download | FreeBSD-src-a88d789288cea6cc65a0f26dc03f6d4888b3f2e5.zip FreeBSD-src-a88d789288cea6cc65a0f26dc03f6d4888b3f2e5.tar.gz |
Restore my changes in rev 1.11 that Garrett killed in his commit.
-rw-r--r-- | sys/dev/de/if_de.c | 4 | ||||
-rw-r--r-- | sys/i386/pci/if_de.c | 4 | ||||
-rw-r--r-- | sys/pci/if_de.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/de/if_de.c b/sys/dev/de/if_de.c index b858b3f..0c0ac6b 100644 --- a/sys/dev/de/if_de.c +++ b/sys/dev/de/if_de.c @@ -21,7 +21,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_de.c,v 1.10 1994/12/11 01:45:41 davidg Exp $ + * $Id: if_de.c,v 1.12 1994/12/22 21:56:19 wollman Exp $ * */ @@ -1108,7 +1108,7 @@ tulip_pci_attach( return; } - bzero(sc, sizeof(sc)); /* Zero out the softc*/ + bzero(sc, sizeof(*sc)); /* Zero out the softc*/ sc->tulip_rxspace = vm_page_alloc_contig(TULIP_RXSPACE + NBPG, 0, 0xffffffff, PAGE_SIZE); /* * We've allocated an extra page of receive space so we can double map diff --git a/sys/i386/pci/if_de.c b/sys/i386/pci/if_de.c index b858b3f..0c0ac6b 100644 --- a/sys/i386/pci/if_de.c +++ b/sys/i386/pci/if_de.c @@ -21,7 +21,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_de.c,v 1.10 1994/12/11 01:45:41 davidg Exp $ + * $Id: if_de.c,v 1.12 1994/12/22 21:56:19 wollman Exp $ * */ @@ -1108,7 +1108,7 @@ tulip_pci_attach( return; } - bzero(sc, sizeof(sc)); /* Zero out the softc*/ + bzero(sc, sizeof(*sc)); /* Zero out the softc*/ sc->tulip_rxspace = vm_page_alloc_contig(TULIP_RXSPACE + NBPG, 0, 0xffffffff, PAGE_SIZE); /* * We've allocated an extra page of receive space so we can double map diff --git a/sys/pci/if_de.c b/sys/pci/if_de.c index b858b3f..0c0ac6b 100644 --- a/sys/pci/if_de.c +++ b/sys/pci/if_de.c @@ -21,7 +21,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_de.c,v 1.10 1994/12/11 01:45:41 davidg Exp $ + * $Id: if_de.c,v 1.12 1994/12/22 21:56:19 wollman Exp $ * */ @@ -1108,7 +1108,7 @@ tulip_pci_attach( return; } - bzero(sc, sizeof(sc)); /* Zero out the softc*/ + bzero(sc, sizeof(*sc)); /* Zero out the softc*/ sc->tulip_rxspace = vm_page_alloc_contig(TULIP_RXSPACE + NBPG, 0, 0xffffffff, PAGE_SIZE); /* * We've allocated an extra page of receive space so we can double map |