diff options
| author | 2006-10-15 17:20:55 +0000 | |
|---|---|---|
| committer | 2006-10-15 17:20:55 +0000 | |
| commit | d37b4987c999c4f58fd1144f031fbd61e88107fb (patch) | |
| tree | 6ec49104fbde67aeceb71651b73d6bec41647c4b /sys/dev/pci/if_gem_pci.c | |
| parent | fix broken scope braces (diff) | |
| download | wireguard-openbsd-d37b4987c999c4f58fd1144f031fbd61e88107fb.tar.xz wireguard-openbsd-d37b4987c999c4f58fd1144f031fbd61e88107fb.zip | |
Fix last commit.
Diffstat (limited to 'sys/dev/pci/if_gem_pci.c')
| -rw-r--r-- | sys/dev/pci/if_gem_pci.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/if_gem_pci.c b/sys/dev/pci/if_gem_pci.c index d331e63a50f..1580e9a0a1f 100644 --- a/sys/dev/pci/if_gem_pci.c +++ b/sys/dev/pci/if_gem_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_gem_pci.c,v 1.23 2006/10/15 14:45:03 kettenis Exp $ */ +/* $OpenBSD: if_gem_pci.c,v 1.24 2006/10/15 17:20:55 kettenis Exp $ */ /* $NetBSD: if_gem_pci.c,v 1.1 2001/09/16 00:11:42 eeh Exp $ */ /* @@ -267,7 +267,8 @@ gem_attach_pci(parent, self, aux) if (OF_getprop(PCITAG_NODE(pa->pa_tag), "local-mac-address", sc->sc_enaddr, ETHER_ADDR_LEN) <= 0) myetheraddr(sc->sc_enaddr); - gotenaddr + gotenaddr = 1; + } #endif #ifdef __powerpc__ if (!gotenaddr) { |
