aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2020-02-05 20:11:13 -0800
committerRob Landley <rob@landley.net>2020-02-06 11:33:25 -0600
commitb07b8878da56c633d90eb6f9d5f9737e0bfe62df (patch)
tree9a28aa042db18bbbb925f43615041e2acc760e0f /toys
parent28c9710edf8b6de4d0bc12f5c3c43306c0b3eeac (diff)
downloadtoybox-b07b8878da56c633d90eb6f9d5f9737e0bfe62df.tar.gz
Remove old GNU style `' quoting.
Even GNU don't pretend they're still on 1970s terminals where ` and ' were a matching pair any more.
Diffstat (limited to 'toys')
-rw-r--r--toys/other/stat.c2
-rw-r--r--toys/posix/unlink.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/toys/other/stat.c b/toys/other/stat.c
index 08b278f8..37dd1808 100644
--- a/toys/other/stat.c
+++ b/toys/other/stat.c
@@ -117,7 +117,7 @@ static void print_stat(char type)
printf("%s", TT.file);
if (S_ISLNK(stat->st_mode))
if (readlink0(TT.file, toybuf, sizeof(toybuf)))
- printf(" -> `%s'", toybuf);
+ printf(" -> '%s'", toybuf);
} else if (type == 'o') out('u', stat->st_blksize);
else if (type == 's') out('u', stat->st_size);
else if (type == 't') out('x', dev_major(stat->st_rdev));
diff --git a/toys/posix/unlink.c b/toys/posix/unlink.c
index f5faab06..017ba9d6 100644
--- a/toys/posix/unlink.c
+++ b/toys/posix/unlink.c
@@ -20,5 +20,5 @@ config UNLINK
void unlink_main(void)
{
if (unlink(*toys.optargs))
- perror_exit("Couldn't unlink `%s'", *toys.optargs);
+ perror_exit("couldn't unlink '%s'", *toys.optargs);
}