From 22e4cb8c23d801454d0a97050a3ceaaa7b3efc3b Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Sat, 21 Aug 2004 13:23:13 +0000 Subject: [PATCH] Fix typo. From-SVN: r86363 --- libgfortran/io/transfer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgfortran/io/transfer.c b/libgfortran/io/transfer.c index 5bc3c00..dc12745 100644 --- a/libgfortran/io/transfer.c +++ b/libgfortran/io/transfer.c @@ -1321,7 +1321,7 @@ next_record (int done) { fp = file_position (current_unit->s); /* Calculate next record, rounding up partial records. */ - current_unit->last_record = (fp + curren_unit->recl - 1) + current_unit->last_record = (fp + current_unit->recl - 1) / current_unit->recl; } else -- 2.7.4