aboutsummaryrefslogtreecommitdiff
path: root/toys/other/mountpoint.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/other/mountpoint.c')
-rw-r--r--toys/other/mountpoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/mountpoint.c b/toys/other/mountpoint.c
index 150865ca..ce1d23cd 100644
--- a/toys/other/mountpoint.c
+++ b/toys/other/mountpoint.c
@@ -33,7 +33,7 @@ void mountpoint_main(void)
char *arg = *toys.optargs;
int quiet = toys.optflags & FLAG_q;
- if (lstat(arg, &st1)) perror_exit("%s", arg);
+ if (lstat(arg, &st1)) perror_exit_raw(arg);
if (toys.optflags & FLAG_x) {
if (S_ISBLK(st1.st_mode)) {