diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2020-04-11 11:01:04 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2020-04-11 11:01:04 +0000 |
commit | 2c4c420d49b9a8881631f2b6b7dce368e46182cf (patch) | |
tree | d85d3bfdb9e84c42f397333bc4e0a30376a5fef7 /sys/net | |
parent | 2e8405fea5b4c38488667fe7770575dd3bd07ef2 (diff) |
log() lines need \n too.
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_tpmr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_tpmr.c b/sys/net/if_tpmr.c index 91351198277..d81183fe54e 100644 --- a/sys/net/if_tpmr.c +++ b/sys/net/if_tpmr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_tpmr.c,v 1.8 2019/11/10 10:03:28 dlg Exp $ */ +/* $OpenBSD: if_tpmr.c,v 1.9 2020/04/11 11:01:03 dlg Exp $ */ /* * Copyright (c) 2019 The University of Queensland @@ -721,7 +721,7 @@ tpmr_p_dtor(struct tpmr_softc *sc, struct tpmr_port *p, const char *op) SMR_PTR_SET_LOCKED(&sc->sc_ports[p->p_slot], NULL); if (ifpromisc(ifp0, 0) != 0) { - log(LOG_WARNING, "%s %s: unable to disable promisc", + log(LOG_WARNING, "%s %s: unable to disable promisc\n", ifp->if_xname, ifp0->if_xname); } |