.
authorJim Meyering <jim@meyering.net>
Tue, 30 Mar 1993 02:22:06 +0000 (02:22 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 30 Mar 1993 02:22:06 +0000 (02:22 +0000)
src/od.c

index a7397dc..2257713 100644 (file)
--- a/src/od.c
+++ b/src/od.c
@@ -1024,7 +1024,7 @@ skip (n_skip)
          if (n_skip >= file_stats.st_size)
            {
              n_skip -= file_stats.st_size;
-             if (in_stream != stdin && fclose (in_stream))
+             if (in_stream != stdin && fclose (in_stream) == EOF)
                {
                  error (0, errno, "%s", input_filename);
                  err = 1;