Use error_msg instead of fprintf(stderr
authorGlenn L McGrath <bug1@ihug.co.nz>
Thu, 28 Nov 2002 10:27:50 +0000 (10:27 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Thu, 28 Nov 2002 10:27:50 +0000 (10:27 -0000)
libbb/recursive_action.c

index 8917f470f7daefc67f75fe23f5317e62934dfa24..8f9cc2f91916e2b18567c3df90a1133600074e7a 100644 (file)
@@ -60,8 +60,7 @@ int recursive_action(const char *fileName,
 
        if (status < 0) {
 #ifdef DEBUG_RECURS_ACTION
-               fprintf(stderr,
-                               "status=%d followLinks=%d TRUE=%d\n",
+               error_msg("status=%d followLinks=%d TRUE=%d",
                                status, followLinks, TRUE);
 #endif
                perror_msg("%s", fileName);