diff options
Diffstat (limited to 'nss/tst-field.c')
-rw-r--r-- | nss/tst-field.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nss/tst-field.c b/nss/tst-field.c index 23d2f2abf6..d98d3eead0 100644 --- a/nss/tst-field.c +++ b/nss/tst-field.c @@ -50,7 +50,8 @@ check_rewrite (const char *input, const char *expected) if (result != NULL && strcmp (result, expected) != 0) { printf ("FAIL: rewrite \"%s\" -> \"%s\", expected \"%s\"\n", - input, result, expected); + (input == NULL) ? "(null)" : input, result, + (expected == NULL) ? "(null)" : expected); errors = true; } free (to_free); |