aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--editors/diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/diff.c b/editors/diff.c
index 1adc4cbc7..6f4ed9712 100644
--- a/editors/diff.c
+++ b/editors/diff.c
@@ -741,7 +741,7 @@ static int diffreg(char *file[2])
741 fd = fd_tmp; 741 fd = fd_tmp;
742 xlseek(fd, 0, SEEK_SET); 742 xlseek(fd, 0, SEEK_SET);
743 } 743 }
744 fp[i] = fdopen(fd, "r"); 744 fp[i] = xfdopen_for_read(fd);
745 } 745 }
746 746
747 setup_common_bufsiz(); 747 setup_common_bufsiz();