diff options
author | Matt Kraai | 2001-01-31 19:00:21 +0000 |
---|---|---|
committer | Matt Kraai | 2001-01-31 19:00:21 +0000 |
commit | dd19c6990496023fe23fefef8f1798740f7d39c6 (patch) | |
tree | 3933adefa4171173db78fa2389146ac89f4edb86 /chmod_chown_chgrp.c | |
parent | 63ec2732454a0c973305794e185e488106f6b282 (diff) | |
download | busybox-dd19c6990496023fe23fefef8f1798740f7d39c6.zip busybox-dd19c6990496023fe23fefef8f1798740f7d39c6.tar.gz |
Removed trailing \n from error_msg{,_and_die} messages.
Diffstat (limited to 'chmod_chown_chgrp.c')
-rw-r--r-- | chmod_chown_chgrp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chmod_chown_chgrp.c b/chmod_chown_chgrp.c index 178138a..81db101 100644 --- a/chmod_chown_chgrp.c +++ b/chmod_chown_chgrp.c @@ -65,7 +65,7 @@ static int fileAction(const char *fileName, struct stat *statbuf, void* junk) case CHMOD_APP: /* Parse the specified modes */ if (parse_mode(theMode, &(statbuf->st_mode)) == FALSE) { - error_msg_and_die( "unknown mode: %s\n", theMode); + error_msg_and_die( "unknown mode: %s", theMode); } if (chmod(fileName, statbuf->st_mode) == 0) return (TRUE); @@ -150,7 +150,7 @@ int chmod_chown_chgrp_main(int argc, char **argv) if (*argv == p) uid = my_getpwnam(*argv); if (uid == -1) { - error_msg_and_die( "unknown user name: %s\n", *argv); + error_msg_and_die( "unknown user name: %s", *argv); } } } @@ -167,7 +167,7 @@ int chmod_chown_chgrp_main(int argc, char **argv) return EXIT_SUCCESS; bad_group: - error_msg_and_die( "unknown group name: %s\n", groupName); + error_msg_and_die( "unknown group name: %s", groupName); } /* |