summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Esser <besser82@fedoraproject.org>2021-08-05 13:19:54 +0200
committerBjörn Esser <besser82@fedoraproject.org>2021-08-05 13:19:54 +0200
commit3ac49634ed5ee571f064dcf6018163a72bf3b4fc (patch)
tree5f0537063b5725beb98830fc267000a631a6274b
parent25af0557031c70bfc4dc9f3171c4a2c2b2ad74c5 (diff)
downloadlibxcrypt-3ac49634ed5ee571f064dcf6018163a72bf3b4fc.tar.gz
libxcrypt-3ac49634ed5ee571f064dcf6018163a72bf3b4fc.tar.bz2
libxcrypt-3ac49634ed5ee571f064dcf6018163a72bf3b4fc.zip
test/special-char-salt.c: Fix formatting of error message.
-rw-r--r--test/special-char-salt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/special-char-salt.c b/test/special-char-salt.c
index be2028d..b469d7e 100644
--- a/test/special-char-salt.c
+++ b/test/special-char-salt.c
@@ -878,9 +878,9 @@ main (void)
{
fputs ("FAIL: ", stderr);
fprint_not_printable_as_hex (stderr, testcases[i].setting, false);
- fputs ("\nexpected: %s", stderr);
+ fputs ("\nexpected: ", stderr);
fprint_not_printable_as_hex (stderr, testcases[i].expected, false);
- fputs ("\ngot: %s", stderr);
+ fputs ("\ngot: ", stderr);
fprint_not_printable_as_hex (stderr, cd.output, false);
fputs ("\n\n", stderr);
ok = false;