diff options
author | Elliott Hughes <enh@google.com> | 2020-02-05 20:11:13 -0800 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2020-02-06 11:33:25 -0600 |
commit | b07b8878da56c633d90eb6f9d5f9737e0bfe62df (patch) | |
tree | 9a28aa042db18bbbb925f43615041e2acc760e0f /toys | |
parent | 28c9710edf8b6de4d0bc12f5c3c43306c0b3eeac (diff) | |
download | toybox-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.c | 2 | ||||
-rw-r--r-- | toys/posix/unlink.c | 2 |
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); } |