daemon: Improve error message for readlink call.

This commit is contained in:
Richard W.M. Jones
2013-12-17 22:09:21 +00:00
parent 882b91cb48
commit 193b81a633

View File

@@ -41,7 +41,7 @@ do_readlink (const char *path)
link = areadlink (path);
CHROOT_OUT;
if (link == NULL) {
reply_with_perror ("readlink");
reply_with_perror ("%s", path);
return NULL;
}