aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/init
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/init')
-rw-r--r--usr.sbin/init/mshell.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/usr.sbin/init/mshell.c b/usr.sbin/init/mshell.c
index 38ea003..3cfbb65 100644
--- a/usr.sbin/init/mshell.c
+++ b/usr.sbin/init/mshell.c
@@ -77,9 +77,6 @@ print_file(const char *path)
}
len = read(fd, buf, sizeof(buf));
- if (len > MAX_FILE_SIZE) {
- len = MAX_FILE_SIZE - 1;
- }
if (len > 0) {
buf[len] = '\0';