summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-11-02 18:18:12 +0100
committerThomas Haller <thaller@redhat.com>2015-11-02 18:19:05 +0100
commit1cf69d9724a85c81e80f77802fcc5d025663f983 (patch)
tree29ac7534711b0934ff8e3dc300b91e271211ec14
parentafa62716c0152cc867eba579c77742cbaa3a3c8b (diff)
downloadNetworkManager-1cf69d9724a85c81e80f77802fcc5d025663f983.tar.gz
tests: fix error message in nmtst_assert_ip6_address()
Fixes: 09983442bd8be13392876cb8cf4e1564907b07e4
-rw-r--r--include/nm-test-utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/nm-test-utils.h b/include/nm-test-utils.h
index 8ab2f84da2..a978a318f7 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)