diff options
Diffstat (limited to 'editors/ed.c')
-rw-r--r-- | editors/ed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/ed.c b/editors/ed.c index 2f3bf03..0961cc3 100644 --- a/editors/ed.c +++ b/editors/ed.c @@ -825,7 +825,7 @@ static int printLines(int num1, int num2, int expandFlag) while (num1 <= num2) { if (!expandFlag) { - write(1, lp->data, lp->len); + write(STDOUT_FILENO, lp->data, lp->len); setCurNum(num1++); lp = lp->next; continue; |