summaryrefslogtreecommitdiff
path: root/coreutils/ln.c
diff options
context:
space:
mode:
authorMatt Kraai2000-07-14 01:51:25 +0000
committerMatt Kraai2000-07-14 01:51:25 +0000
commitd537a95fdbc0b4a5f38edea8593b4c085fdd7fcb (patch)
tree62127f20fc07758e445d8c4e186306cbe83d77b1 /coreutils/ln.c
parent4ac6cb534d78d63d7b0a206118c56bad7024b9f8 (diff)
downloadbusybox-d537a95fdbc0b4a5f38edea8593b4c085fdd7fcb.zip
busybox-d537a95fdbc0b4a5f38edea8593b4c085fdd7fcb.tar.gz
Use errorMsg rather than fprintf.
Diffstat (limited to 'coreutils/ln.c')
-rw-r--r--coreutils/ln.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/coreutils/ln.c b/coreutils/ln.c
index ac1f68e..9f77743 100644
--- a/coreutils/ln.c
+++ b/coreutils/ln.c
@@ -23,7 +23,6 @@
#include "internal.h"
#define BB_DECLARE_EXTERN
-#define bb_need_name_too_long
#define bb_need_not_a_directory
#include "messages.c"
@@ -92,7 +91,7 @@ extern int ln_main(int argc, char **argv)
linkIntoDirFlag = isDirectory(linkName, followLinks, NULL);
if ((argc >= 3) && linkIntoDirFlag == FALSE) {
- fprintf(stderr, not_a_directory, "ln", linkName);
+ errorMsg(not_a_directory, linkName);
exit FALSE;
}