diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2010-10-13 17:21:21 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2010-10-13 17:21:21 +0000 |
commit | 3ad0c4bcd6dd0751a9582c46259e6d72f46fc62c (patch) | |
tree | e89453ccf2bd8c67d2a1245ee1e87ae358f553f8 /sys/netgraph/ng_gif_demux.c | |
parent | b4b86377af579d3da62db347352461e0092cf831 (diff) | |
download | FreeBSD-src-3ad0c4bcd6dd0751a9582c46259e6d72f46fc62c.zip FreeBSD-src-3ad0c4bcd6dd0751a9582c46259e6d72f46fc62c.tar.gz |
When calling panic(), always pass a format string.
Diffstat (limited to 'sys/netgraph/ng_gif_demux.c')
-rw-r--r-- | sys/netgraph/ng_gif_demux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_gif_demux.c b/sys/netgraph/ng_gif_demux.c index a5ac5e1..3e88219 100644 --- a/sys/netgraph/ng_gif_demux.c +++ b/sys/netgraph/ng_gif_demux.c @@ -391,7 +391,7 @@ ng_gif_demux_disconnect(hook_p hook) else { iffam = get_iffam_from_hook(priv, hook); if (iffam == NULL) - panic(__func__); + panic("%s", __func__); *get_hook_from_iffam(priv, iffam) = NULL; } |