summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tests/check_and_open-tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/check_and_open-tests.c b/src/tests/check_and_open-tests.c
index e3d988680..59879cc93 100644
--- a/src/tests/check_and_open-tests.c
+++ b/src/tests/check_and_open-tests.c
@@ -98,7 +98,7 @@ START_TEST(test_symlink)
ret);
ret = symlink(filename, newpath);
- fail_unless(ret == 0, "symlink failed [%d][%s]", ret, strerror(ret));
+ fail_unless(ret == 0, "symlink failed [%d][%s]", ret, strerror(errno));
ret = check_file(newpath, uid, gid, mode, CHECK_REG, NULL);
unlink(newpath);