diff options
author | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-01-31 19:00:21 +0000 |
---|---|---|
committer | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-01-31 19:00:21 +0000 |
commit | daa692b64776f1e2552a198ae786d2e5f3b50620 (patch) | |
tree | 3933adefa4171173db78fa2389146ac89f4edb86 /mkdir.c | |
parent | 434f1b16e15a308f02d9fc1adc5fa1e483955fed (diff) | |
download | busybox-w32-daa692b64776f1e2552a198ae786d2e5f3b50620.tar.gz busybox-w32-daa692b64776f1e2552a198ae786d2e5f3b50620.tar.bz2 busybox-w32-daa692b64776f1e2552a198ae786d2e5f3b50620.zip |
Removed trailing \n from error_msg{,_and_die} messages.
git-svn-id: svn://busybox.net/trunk/busybox@1732 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'mkdir.c')
-rw-r--r-- | mkdir.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -52,7 +52,7 @@ extern int mkdir_main(int argc, char **argv) | |||
52 | /* Find the specified modes */ | 52 | /* Find the specified modes */ |
53 | mode = 0; | 53 | mode = 0; |
54 | if (parse_mode(*(++argv), &mode) == FALSE) { | 54 | if (parse_mode(*(++argv), &mode) == FALSE) { |
55 | error_msg_and_die("Unknown mode: %s\n", *argv); | 55 | error_msg_and_die("Unknown mode: %s", *argv); |
56 | } | 56 | } |
57 | /* Set the umask for this process so it doesn't | 57 | /* Set the umask for this process so it doesn't |
58 | * screw up whatever the user just entered. */ | 58 | * screw up whatever the user just entered. */ |
@@ -85,7 +85,7 @@ extern int mkdir_main(int argc, char **argv) | |||
85 | strcpy(buf, *argv); | 85 | strcpy(buf, *argv); |
86 | status = stat(buf, &statBuf); | 86 | status = stat(buf, &statBuf); |
87 | if (parentFlag == FALSE && status != -1 && errno != ENOENT) { | 87 | if (parentFlag == FALSE && status != -1 && errno != ENOENT) { |
88 | error_msg_and_die("%s: File exists\n", buf); | 88 | error_msg_and_die("%s: File exists", buf); |
89 | } | 89 | } |
90 | if (parentFlag == TRUE) { | 90 | if (parentFlag == TRUE) { |
91 | strcat(buf, "/"); | 91 | strcat(buf, "/"); |