aboutsummaryrefslogtreecommitdiffstats
path: root/man5
diff options
context:
space:
mode:
Diffstat (limited to 'man5')
-rw-r--r--man5/core.54
1 files changed, 2 insertions, 2 deletions
diff --git a/man5/core.5 b/man5/core.5
index fb0dc22196..a87ebbaf46 100644
--- a/man5/core.5
+++ b/man5/core.5
@@ -654,7 +654,7 @@ Total bytes in core dump: 282624
int
main(int argc, char *argv[])
{
- int tot, j;
+ int tot;
ssize_t nread;
char buf[BUF_SIZE];
FILE *fp;
@@ -676,7 +676,7 @@ main(int argc, char *argv[])
pipe program */
fprintf(fp, "argc=%d\en", argc);
- for (j = 0; j < argc; j++)
+ for (int j = 0; j < argc; j++)
fprintf(fp, "argc[%d]=<%s>\en", j, argv[j]);
/* Count bytes in standard input (the core dump) */