diff options
Diffstat (limited to 'usr.bin/tn3270/tools/mkhits/dohits.c')
-rw-r--r-- | usr.bin/tn3270/tools/mkhits/dohits.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/tn3270/tools/mkhits/dohits.c b/usr.bin/tn3270/tools/mkhits/dohits.c index d2d576e..afa36af 100644 --- a/usr.bin/tn3270/tools/mkhits/dohits.c +++ b/usr.bin/tn3270/tools/mkhits/dohits.c @@ -257,7 +257,7 @@ char *aidfile, *fcnfile; } scanwhite(fcnfile, "FCN_"); - while (gets(line) != NULL) { + while (fgets(line, sizeof line, stdin) != NULL) { if (!isdigit(line[0])) { continue; } |