diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2013-06-20 12:03:41 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2013-06-20 12:03:41 +0000 |
commit | c15d8852aa3337e78fbcc20cb4a51385e1cba4c0 (patch) | |
tree | bd2ecb37c6c503bdb2278f929290f5360d27b611 /sys/dev/pci | |
parent | bb4310ae8425f0b8f24cd6eeb87a6738fec8777a (diff) |
Revert previous and unbreak asr, the new include should be protected.
Reported by naddy@
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/if_art.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_art.c b/sys/dev/pci/if_art.c index ef6d1825ef8..03f332aac76 100644 --- a/sys/dev/pci/if_art.c +++ b/sys/dev/pci/if_art.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_art.c,v 1.19 2013/06/20 09:38:24 mpi Exp $ */ +/* $OpenBSD: if_art.c,v 1.20 2013/06/20 12:03:40 mpi Exp $ */ /* * Copyright (c) 2004,2005 Internet Business Solutions AG, Zurich, Switzerland @@ -174,7 +174,7 @@ art_softc_attach(struct device *parent, struct device *self, void *aux) /* Set linkstate hook to track link state changes done by sppp. */ sc->art_linkstatehook = hook_establish( - &sc->art_channel->cc_ifp->if_linkstatehooks, 0, art_linkstate, sc); + sc->art_channel->cc_ifp->if_linkstatehooks, 0, art_linkstate, sc); /* Schedule the timeout one second from now. */ timeout_add_sec(&sc->art_onesec, 1); |