summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/shared/test-tables.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/test-tables.h b/src/shared/test-tables.h
index bb8177b649..120dc7f2e9 100644
--- a/src/shared/test-tables.h
+++ b/src/shared/test-tables.h
@@ -27,7 +27,7 @@ static inline void _test_table(const char *name,
}
if (boring < 1 || i == size)
- printf("%s: %d → %s → %d\n", name, i, val, rev);
+ printf("%s: %d → %s → %d\n", name, i, strnull(val), rev);
else if (boring == 1)
printf("%*s ...\n", (int) strlen(name), "");