diff options
author | glebius <glebius@FreeBSD.org> | 2013-05-06 21:44:06 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2013-05-06 21:44:06 +0000 |
commit | 8adbc6e4aee470a7d0f2027e2a38804238399503 (patch) | |
tree | b1528c9c08a976188bd7506f43d1ee0635148bac /sys/netpfil/pf | |
parent | b3233b1bbbb9ff71e4a7692e4d2e9049ddb60020 (diff) | |
download | FreeBSD-src-8adbc6e4aee470a7d0f2027e2a38804238399503.zip FreeBSD-src-8adbc6e4aee470a7d0f2027e2a38804238399503.tar.gz |
Improve KASSERT() message.
Diffstat (limited to 'sys/netpfil/pf')
-rw-r--r-- | sys/netpfil/pf/if_pfsync.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netpfil/pf/if_pfsync.c b/sys/netpfil/pf/if_pfsync.c index 0327655..bc11584 100644 --- a/sys/netpfil/pf/if_pfsync.c +++ b/sys/netpfil/pf/if_pfsync.c @@ -1643,7 +1643,7 @@ pfsync_insert_state(struct pf_state *st) } KASSERT(st->sync_state == PFSYNC_S_NONE, - ("%s: st->sync_state == PFSYNC_S_NONE", __func__)); + ("%s: st->sync_state %u", __func__, st->sync_state)); PFSYNC_LOCK(sc); if (sc->sc_len == PFSYNC_MINPKT) @@ -1966,7 +1966,7 @@ pfsync_q_ins(struct pf_state *st, int q) PFSYNC_LOCK_ASSERT(sc); KASSERT(st->sync_state == PFSYNC_S_NONE, - ("%s: st->sync_state == PFSYNC_S_NONE", __func__)); + ("%s: st->sync_state %u", __func__, st->sync_state)); KASSERT(sc->sc_len >= PFSYNC_MINPKT, ("pfsync pkt len is too low %zu", sc->sc_len)); |