summaryrefslogtreecommitdiff
path: root/tests/lib/test_table.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2021-03-23 14:50:14 -0400
committerMark Stapp <mjs@voltanet.io>2021-03-23 14:50:14 -0400
commitf62fd2ac9f577f725ef07f8d534eb6aaf0577021 (patch)
tree1d354034a4a1267a4be7ad15cd7cef0091296fcb /tests/lib/test_table.c
parentff7c213c650d7fe40bd3b568b0974462c821b271 (diff)
tests: use printfrr to use extended format specs
Test was using 'pFX' with printf() - need to use printfrr(). Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'tests/lib/test_table.c')
-rw-r--r--tests/lib/test_table.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/test_table.c b/tests/lib/test_table.c
index 290657bd56..9b6539e3bc 100644
--- a/tests/lib/test_table.c
+++ b/tests/lib/test_table.c
@@ -20,7 +20,7 @@
*/
#include <zebra.h>
-
+#include "printfrr.h"
#include "prefix.h"
#include "table.h"
@@ -113,7 +113,7 @@ static void print_subtree(struct route_node *rn, const char *legend,
printf(" ");
}
- printf("%s: %pFX", legend, &rn->p);
+ printfrr("%s: %pFX", legend, &rn->p);
if (!rn->info) {
printf(" (internal)");
}