diff options
author | Matt Kraai <kraai@debian.org> | 2000-07-14 01:51:25 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2000-07-14 01:51:25 +0000 |
commit | d537a95fdbc0b4a5f38edea8593b4c085fdd7fcb (patch) | |
tree | 62127f20fc07758e445d8c4e186306cbe83d77b1 /coreutils/ln.c | |
parent | 4ac6cb534d78d63d7b0a206118c56bad7024b9f8 (diff) | |
download | busybox-w32-d537a95fdbc0b4a5f38edea8593b4c085fdd7fcb.tar.gz busybox-w32-d537a95fdbc0b4a5f38edea8593b4c085fdd7fcb.tar.bz2 busybox-w32-d537a95fdbc0b4a5f38edea8593b4c085fdd7fcb.zip |
Use errorMsg rather than fprintf.
Diffstat (limited to 'coreutils/ln.c')
-rw-r--r-- | coreutils/ln.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/coreutils/ln.c b/coreutils/ln.c index ac1f68e00..9f7774380 100644 --- a/coreutils/ln.c +++ b/coreutils/ln.c | |||
@@ -23,7 +23,6 @@ | |||
23 | 23 | ||
24 | #include "internal.h" | 24 | #include "internal.h" |
25 | #define BB_DECLARE_EXTERN | 25 | #define BB_DECLARE_EXTERN |
26 | #define bb_need_name_too_long | ||
27 | #define bb_need_not_a_directory | 26 | #define bb_need_not_a_directory |
28 | #include "messages.c" | 27 | #include "messages.c" |
29 | 28 | ||
@@ -92,7 +91,7 @@ extern int ln_main(int argc, char **argv) | |||
92 | 91 | ||
93 | linkIntoDirFlag = isDirectory(linkName, followLinks, NULL); | 92 | linkIntoDirFlag = isDirectory(linkName, followLinks, NULL); |
94 | if ((argc >= 3) && linkIntoDirFlag == FALSE) { | 93 | if ((argc >= 3) && linkIntoDirFlag == FALSE) { |
95 | fprintf(stderr, not_a_directory, "ln", linkName); | 94 | errorMsg(not_a_directory, linkName); |
96 | exit FALSE; | 95 | exit FALSE; |
97 | } | 96 | } |
98 | 97 | ||