From 1cf69d9724a85c81e80f77802fcc5d025663f983 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Mon, 2 Nov 2015 18:18:12 +0100 Subject: [PATCH] tests: fix error message in nmtst_assert_ip6_address() Fixes: 09983442bd8be13392876cb8cf4e1564907b07e4 --- include/nm-test-utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/nm-test-utils.h b/include/nm-test-utils.h index 8ab2f84da..a978a318f 100644 --- a/include/nm-test-utils.h +++ b/include/nm-test-utils.h @@ -762,7 +762,7 @@ _nmtst_assert_ip6_address (const char *file, int line, const struct in6_addr *ad g_error ("%s:%d: Unexpected IPv6 address: expected %s, got %s", file, line, str_expected ? str_expected : "::", - inet_ntop (AF_INET6, &addr, buf, sizeof (buf))); + inet_ntop (AF_INET6, addr, buf, sizeof (buf))); } } #define nmtst_assert_ip6_address(addr, str_expected) _nmtst_assert_ip6_address (__FILE__, __LINE__, addr, str_expected)