diff options
| author | Elliott Hughes <enh@google.com> | 2020-08-19 17:32:14 -0700 |
|---|---|---|
| committer | Rob Landley <rob@landley.net> | 2020-08-20 02:06:55 -0500 |
| commit | 0edcf02d769d07eae662df4e044177f984c343ef (patch) | |
| tree | 7164712a94639bacf40e595f9afd69c67d1fdd2b | |
| parent | 88e92d59ec33c41d45b8315ef3d765a639a4ddbe (diff) | |
| download | toybox-0edcf02d769d07eae662df4e044177f984c343ef.tar.gz | |
xputsl: write to stdout, not stdin!
This is why the tests have been failing since
42303209f44a335025b9cd1dbe5dd2f3069f2e99.
| -rw-r--r-- | lib/xwrap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xwrap.c b/lib/xwrap.c index 5e64007f..bd0cdc4c 100644 --- a/lib/xwrap.c +++ b/lib/xwrap.c @@ -160,7 +160,7 @@ void xprintf(char *format, ...) void xputsl(char *s, int len) { xflush(0); - xwrite(0, s, len); + xwrite(1, s, len); } // xputs with no newline |
