From b07b8878da56c633d90eb6f9d5f9737e0bfe62df Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 5 Feb 2020 20:11:13 -0800 Subject: Remove old GNU style `' quoting. Even GNU don't pretend they're still on 1970s terminals where ` and ' were a matching pair any more. --- toys/other/stat.c | 2 +- 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); } -- cgit v1.2.3