aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2019-04-02 16:42:26 +0200
committerLukas Larsson <[email protected]>2019-04-10 09:43:54 +0200
commit790ac0003ce854943cdac85b4843f20410b0bd5a (patch)
tree1d4798cf34b9a0394d0c35deca26ee36b4a3dd64 /erts
parent5411760ba2f7d8b2f5e2c1cec232ade88934b309 (diff)
downloadotp-790ac0003ce854943cdac85b4843f20410b0bd5a.tar.gz
otp-790ac0003ce854943cdac85b4843f20410b0bd5a.tar.bz2
otp-790ac0003ce854943cdac85b4843f20410b0bd5a.zip
erts: Fix gcc warning in to_erl
Diffstat (limited to 'erts')
-rw-r--r--erts/etc/unix/to_erl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/etc/unix/to_erl.c b/erts/etc/unix/to_erl.c
index ed4fe12e8b..1448980f77 100644
--- a/erts/etc/unix/to_erl.c
+++ b/erts/etc/unix/to_erl.c
@@ -415,7 +415,7 @@ int main(int argc, char **argv)
if (len) {
#ifdef DEBUG
- (void)write(1, buf, len);
+ write_all(1, buf, len);
#endif
if (write_all(wfd, buf, len) != len) {
fprintf(stderr, "Error in writing to FIFO.\n");