aboutsummaryrefslogtreecommitdiff
path: root/toys/other/setfattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/other/setfattr.c')
-rw-r--r--toys/other/setfattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/setfattr.c b/toys/other/setfattr.c
index 48817aa2..0aea225a 100644
--- a/toys/other/setfattr.c
+++ b/toys/other/setfattr.c
@@ -36,6 +36,6 @@ void setfattr_main(void)
if (TT.x) rc = (h?lremovexattr:removexattr)(*s, TT.x);
else rc = (h?lsetxattr:setxattr)(*s, TT.n, TT.v, TT.v?strlen(TT.v):0, 0);
- if (rc) perror_msg("%s", *s);
+ if (rc) perror_msg_raw(*s);
}
}