diff options
author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2008-04-13 15:30:03 -0400 |
---|---|---|
committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2008-04-13 15:30:03 -0400 |
commit | dbe9dbe3b16baa55b7867ddd834197421324e131 (patch) | |
tree | a3101e1888e5d19487bcdc26e3837574485d8ef9 /src/ftcat.c | |
parent | 98648884360b21854944b933a035a9e8290c14e7 (diff) |
add PCP timestamps
Diffstat (limited to 'src/ftcat.c')
-rw-r--r-- | src/ftcat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ftcat.c b/src/ftcat.c index 151fa29..4d83f56 100644 --- a/src/ftcat.c +++ b/src/ftcat.c | |||
@@ -34,7 +34,7 @@ static void cat2stdout(int fd) | |||
34 | { | 34 | { |
35 | static char buf[4096]; | 35 | static char buf[4096]; |
36 | int rd; | 36 | int rd; |
37 | while (rd = read(fd, buf, 4096)) | 37 | while ((rd = read(fd, buf, 4096))) |
38 | fwrite(buf, 1, rd, stdout); | 38 | fwrite(buf, 1, rd, stdout); |
39 | } | 39 | } |
40 | 40 | ||