diff options
Diffstat (limited to 'toys/catv.c')
-rw-r--r-- | toys/catv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/catv.c b/toys/catv.c index e37f307b..9097c065 100644 --- a/toys/catv.c +++ b/toys/catv.c @@ -27,7 +27,7 @@ int catv_main(void) else for(;;) { int i, res; - res = reread(fd, toybuf, sizeof(toybuf)); + res = read(fd, toybuf, sizeof(toybuf)); if (res < 0) retval = EXIT_FAILURE; if (res < 1) break; for (i=0; i<res; i++) { |