diff options
Diffstat (limited to 'man3/strcat.3')
| -rw-r--r-- | man3/strcat.3 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/man3/strcat.3 b/man3/strcat.3 index dce33bae52..1d8fb73157 100644 --- a/man3/strcat.3 +++ b/man3/strcat.3 @@ -208,14 +208,13 @@ int main(int argc, char *argv[]) { #define LIM 4000000 - int j; char p[LIM + 1]; /* +1 for terminating null byte */ time_t base; base = time(NULL); p[0] = \(aq\e0\(aq; - for (j = 0; j < LIM; j++) { + for (int j = 0; j < LIM; j++) { if ((j % 10000) == 0) printf("%d %ld\en", j, (long) (time(NULL) \- base)); strcat(p, "a"); |
