mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
One more #ifdef fix for GCC 4.4.
This commit is contained in:
parent
f92a68eec3
commit
bcd694ce76
1 changed files with 1 additions and 1 deletions
|
|
@ -4842,7 +4842,7 @@ setup_ifnet(struct ifnet *ifp)
|
|||
if_initname(ifp, device_get_name(sc->dev), device_get_unit(sc->dev));
|
||||
# elif defined(__NetBSD__)
|
||||
strcpy(ifp->if_xname, sc->dev.dv_xname);
|
||||
# elif __OpenBSD__
|
||||
# elif defined(__OpenBSD__)
|
||||
bcopy(sc->dev.dv_xname, ifp->if_xname, IFNAMSIZ);
|
||||
# elif defined(__bsdi__)
|
||||
ifp->if_name = sc->dev.dv_cfdata->cf_driver->cd_name;
|
||||
|
|
|
|||
Loading…
Reference in a new issue