summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2010-06-10 11:27:47 +0200
committerStephen Gallagher <sgallagh@redhat.com>2010-06-14 16:54:31 -0400
commit095a719ae079ce5f8c28440e358df963eeec0618 (patch)
tree32e61516be577f6e72165fe1bad9af4ab4ff1730 /src
parent0d32e0dbb84de09e819911e8a5a532fbb7c1604e (diff)
downloadsssd-095a719ae079ce5f8c28440e358df963eeec0618.tar.gz
sssd-095a719ae079ce5f8c28440e358df963eeec0618.tar.bz2
sssd-095a719ae079ce5f8c28440e358df963eeec0618.zip
Print correct return code
Fixes: #535
Diffstat (limited to 'src')
-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 e3d98868..59879cc9 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);