From ed2dfb60ee4a99850e9e68fb27512a0bab4ba992 Mon Sep 17 00:00:00 2001 From: kraai Date: Fri, 14 Jul 2000 01:51:25 +0000 Subject: Use errorMsg rather than fprintf. git-svn-id: svn://busybox.net/trunk/busybox@848 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- ln.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ln.c') diff --git a/ln.c b/ln.c index ac1f68e00..9f7774380 100644 --- a/ln.c +++ b/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; } -- cgit v1.2.3-55-g6feb