diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-05-19 09:48:17 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-05-19 09:48:17 +0000 |
commit | 5e25ddb7d369b6785ec3aaa96cbc0521c22aeb0d (patch) | |
tree | 44b7cf5fb706b0816dd4525782ca8c37d07c2f43 /editors/ed.c | |
parent | 636a1f85e89432601c59cdc3239fc867b4adf051 (diff) | |
download | busybox-w32-5e25ddb7d369b6785ec3aaa96cbc0521c22aeb0d.tar.gz busybox-w32-5e25ddb7d369b6785ec3aaa96cbc0521c22aeb0d.tar.bz2 busybox-w32-5e25ddb7d369b6785ec3aaa96cbc0521c22aeb0d.zip |
- use STD*_FILENO some more. No object-code changes
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 2f3bf03bf..0961cc38e 100644 --- a/editors/ed.c +++ b/editors/ed.c | |||
@@ -825,7 +825,7 @@ static int printLines(int num1, int num2, int expandFlag) | |||
825 | 825 | ||
826 | while (num1 <= num2) { | 826 | while (num1 <= num2) { |
827 | if (!expandFlag) { | 827 | if (!expandFlag) { |
828 | write(1, lp->data, lp->len); | 828 | write(STDOUT_FILENO, lp->data, lp->len); |
829 | setCurNum(num1++); | 829 | setCurNum(num1++); |
830 | lp = lp->next; | 830 | lp = lp->next; |
831 | continue; | 831 | continue; |