aboutsummaryrefslogtreecommitdiff
path: root/slirp/ip6_icmp.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2018-11-14 16:36:31 +0400
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2019-01-14 00:43:30 +0100
commit2afbb788ff43c5cb5a91fb3da9cae6bd9a70731f (patch)
tree82ef676d69fd01861496a6efaaab8b86706c3337 /slirp/ip6_icmp.c
parent90dfa2784164d1210ba95de462ce0f3b1030a698 (diff)
downloadqemu-2afbb788ff43c5cb5a91fb3da9cae6bd9a70731f.zip
qemu-2afbb788ff43c5cb5a91fb3da9cae6bd9a70731f.tar.gz
qemu-2afbb788ff43c5cb5a91fb3da9cae6bd9a70731f.tar.bz2
slirp: improve a bit the debug macros
Let them accept multiple arguments. Simplify the inner argument handling of DEBUG_ARGS/DEBUG_MISC_DEBUG_ERROR. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'slirp/ip6_icmp.c')
-rw-r--r--slirp/ip6_icmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/slirp/ip6_icmp.c b/slirp/ip6_icmp.c
index 3c424df..595647b 100644
--- a/slirp/ip6_icmp.c
+++ b/slirp/ip6_icmp.c
@@ -76,7 +76,7 @@ void icmp6_send_error(struct mbuf *m, uint8_t type, uint8_t code)
struct ip6 *ip = mtod(m, struct ip6 *);
DEBUG_CALL("icmp6_send_error");
- DEBUG_ARGS((dfd, " type = %d, code = %d\n", type, code));
+ DEBUG_ARGS(" type = %d, code = %d\n", type, code);
if (IN6_IS_ADDR_MULTICAST(&ip->ip_src) ||
in6_zero(&ip->ip_src)) {