aboutsummaryrefslogtreecommitdiff
path: root/toys/other/readlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/other/readlink.c')
-rw-r--r--toys/other/readlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/readlink.c b/toys/other/readlink.c
index 2acdd558..7724b336 100644
--- a/toys/other/readlink.c
+++ b/toys/other/readlink.c
@@ -60,7 +60,7 @@ static char *resolve(char *arg)
if (FLAG(s)) flags |= ABS_KEEP;
else if (FLAG(L)) arg = dd = xabspath(arg, ABS_KEEP);
- if (!(s = xabspath(arg, flags)) && !FLAG(q)) perror_msg("%s", arg);
+ if (!(s = xabspath(arg, flags)) && !FLAG(q)) perror_msg_raw(arg);
free(dd);
// Trim off this prefix if path under here