diff options
| author | Suleiman Souhlal <ssouhlal@FreeBSD.org> | 2004-12-15 06:24:57 +0000 |
|---|---|---|
| committer | Suleiman Souhlal <ssouhlal@FreeBSD.org> | 2004-12-15 06:24:57 +0000 |
| commit | f6bbd7a8e918ea0f48c1aaf0aecab9051804d4a5 (patch) | |
| tree | eed7f2ca09418f1c98e6c817ca54b962cb3f624a /usr.bin/rev | |
| parent | 4011d8a8c93cb2a4337796765bd5f5f7929b4215 (diff) | |
Notes
Diffstat (limited to 'usr.bin/rev')
| -rw-r--r-- | usr.bin/rev/rev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/rev/rev.c b/usr.bin/rev/rev.c index 87c858712ff86..67080fbb0845e 100644 --- a/usr.bin/rev/rev.c +++ b/usr.bin/rev/rev.c @@ -103,6 +103,7 @@ main(int argc, char *argv[]) } if (ferror(fp)) { warn("%s", filename); + clearerr(fp); rval = 1; } (void)fclose(fp); |
