Fix some error messages

There's many more to go.
This commit is contained in:
sin
2014-11-17 16:22:01 +00:00
parent cb7cbde722
commit af8e38f5fa
5 changed files with 9 additions and 14 deletions

View File

@@ -53,12 +53,12 @@ main(int argc, char *argv[])
if (errno)
eprintf("getgrnam %s:");
else if (!gr)
eprintf("chgrp: '%s': No such group\n", argv[0]);
eprintf("getgrnam %s: no such group\n", argv[0]);
gid = gr->gr_gid;
while (*++argv) {
if (stat(*argv, &st) == -1) {
fprintf(stderr, "chgrp: '%s': %s\n", *argv,
fprintf(stderr, "stat %s: %s\n", *argv,
strerror(errno));
failures++;
continue;