summaryrefslogtreecommitdiff
path: root/utility.c
diff options
context:
space:
mode:
authorMatt Kraai2000-10-16 16:22:27 +0000
committerMatt Kraai2000-10-16 16:22:27 +0000
commit4f94e826cf61086639bddcd2cd44bd40faee0712 (patch)
tree4f5d2604ef5bcbc289b5e49548f1f10b7aa2b5fa /utility.c
parent567cdd1d517103e74153d0c45713f72457a702ab (diff)
downloadbusybox-4f94e826cf61086639bddcd2cd44bd40faee0712.zip
busybox-4f94e826cf61086639bddcd2cd44bd40faee0712.tar.gz
Remove broken error test found by Bryan Rittmeyer <bryan@ixiacom.com>.
Diffstat (limited to 'utility.c')
-rw-r--r--utility.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/utility.c b/utility.c
index 11ade98..c8a1820 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 */