aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2018-06-28 16:28:28 -0700
committerRob Landley <rob@landley.net>2018-06-28 21:48:01 -0500
commitda08d787916c0ec9f6c72dabedc255c1b63c1fc4 (patch)
treee7cd0faf3d2e906936ecda2692da64241ef16119
parentd376344bfd834c73347b8e523231438969b7220f (diff)
downloadtoybox-da08d787916c0ec9f6c72dabedc255c1b63c1fc4.tar.gz
stat: remove hideous GNUism.
Even GNU coreutils 8.28 doesn't use the lopsided `quoting' any more.
-rw-r--r--toys/other/stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/stat.c b/toys/other/stat.c
index a1e12d58..0622a525 100644
--- a/toys/other/stat.c
+++ b/toys/other/stat.c
@@ -112,7 +112,7 @@ static void print_stat(char type)
}
llist_traverse(mt, free);
} else if (type == 'N') {
- xprintf("`%s'", TT.file);
+ xprintf("%s", TT.file);
if (S_ISLNK(stat->st_mode))
if (readlink0(TT.file, toybuf, sizeof(toybuf)))
xprintf(" -> `%s'", toybuf);