summaryrefslogtreecommitdiff
path: root/include/nm-test-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/nm-test-utils.h')
-rw-r--r--include/nm-test-utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/nm-test-utils.h b/include/nm-test-utils.h
index 85a6e78385..9f40be9c12 100644
--- a/include/nm-test-utils.h
+++ b/include/nm-test-utils.h
@@ -983,7 +983,7 @@ nmtst_platform_ip4_routes_equal (const NMPlatformIP4Route *a, const NMPlatformIP
for (i = 0; i < len; i++) {
if (nm_platform_ip4_route_cmp (&a[i], &b[i]) != 0) {
- char buf[sizeof (_nm_platform_to_string_buffer)];
+ char buf[sizeof (_nm_utils_to_string_buffer)];
g_error ("Error comparing IPv4 route[%lu]: %s vs %s", (long unsigned) i,
nm_platform_ip4_route_to_string (&a[i], NULL, 0),
@@ -1017,7 +1017,7 @@ nmtst_platform_ip6_routes_equal (const NMPlatformIP6Route *a, const NMPlatformIP
for (i = 0; i < len; i++) {
if (nm_platform_ip6_route_cmp (&a[i], &b[i]) != 0) {
- char buf[sizeof (_nm_platform_to_string_buffer)];
+ char buf[sizeof (_nm_utils_to_string_buffer)];
g_error ("Error comparing IPv6 route[%lu]: %s vs %s", (long unsigned) i,
nm_platform_ip6_route_to_string (&a[i], NULL, 0),