From: Matt Kraai Date: Mon, 16 Oct 2000 16:22:27 +0000 (-0000) Subject: Remove broken error test found by Bryan Rittmeyer . X-Git-Tag: 0_48~157 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4f94e826cf61086639bddcd2cd44bd40faee0712;p=oweals%2Fbusybox.git Remove broken error test found by Bryan Rittmeyer . --- diff --git a/utility.c b/utility.c index 11ade982b..c8a1820d8 100644 --- a/utility.c +++ b/utility.c @@ -1637,11 +1637,6 @@ extern int print_file_by_name(char *filename) if ((file = wfopen(filename, "r")) == NULL) return FALSE; print_file(file); - if (errno) { - errorMsg("%s: %s\n", filename, strerror(errno)); - errno = 0; - return FALSE; - } return TRUE; } #endif /* BB_CAT */