aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/comm.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/posix/comm.c')
-rw-r--r--toys/posix/comm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/comm.c b/toys/posix/comm.c
index bbdcccef..6c726cf6 100644
--- a/toys/posix/comm.c
+++ b/toys/posix/comm.c
@@ -77,5 +77,5 @@ void comm_main(void)
line[i] = get_line(file[i]);
}
- if (CFG_TOYBOX_FREE) for (i = 0; i < 2; i--) xclose(file[i]);
+ if (CFG_TOYBOX_FREE) for (i = 0; i < 2; i++) xclose(file[i]);
}