aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}