diff options
author | Matt Kraai <kraai@debian.org> | 2000-07-14 05:51:25 +0400 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2000-07-14 05:51:25 +0400 |
commit | d537a95fdbc0b4a5f38edea8593b4c085fdd7fcb (patch) | |
tree | 62127f20fc07758e445d8c4e186306cbe83d77b1 /coreutils/ln.c | |
parent | 4ac6cb534d78d63d7b0a206118c56bad7024b9f8 (diff) |
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 @@ #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; } |