diff options
Diffstat (limited to 'editors/awk.c')
-rw-r--r-- | editors/awk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/awk.c b/editors/awk.c index 7af9e1eeb..571d68193 100644 --- a/editors/awk.c +++ b/editors/awk.c | |||
@@ -2400,7 +2400,7 @@ static var *evaluate(node *op, var *res) | |||
2400 | X.rsm->F = popen(L.s, "r"); | 2400 | X.rsm->F = popen(L.s, "r"); |
2401 | X.rsm->is_pipe = TRUE; | 2401 | X.rsm->is_pipe = TRUE; |
2402 | } else { | 2402 | } else { |
2403 | X.rsm->F = fopen(L.s, "r"); /* not xfopen! */ | 2403 | X.rsm->F = fopen_for_read(L.s); /* not xfopen! */ |
2404 | } | 2404 | } |
2405 | } | 2405 | } |
2406 | } else { | 2406 | } else { |