aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/io
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/io')
-rw-r--r--libgfortran/io/transfer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/io/transfer.c b/libgfortran/io/transfer.c
index 9822a76..dc94154 100644
--- a/libgfortran/io/transfer.c
+++ b/libgfortran/io/transfer.c
@@ -162,7 +162,7 @@ read_sf (int *length)
/* If we have a line without a terminating \n, drop through to
EOR below. */
- if (readlen < 1 & n == 0)
+ if (readlen < 1 && n == 0)
{
generate_error (ERROR_END, NULL);
return NULL;