diff options
author | Henrik Nord <[email protected]> | 2014-01-14 12:10:52 +0100 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2014-01-14 12:10:56 +0100 |
commit | 46574af4f4c8c9c0b0e88fb2c7ce55247a0071fd (patch) | |
tree | 3ad8e928c535b388a6d97d95e8faa35894d7e3d6 /erts/epmd/src/epmd_cli.c | |
parent | 9128cbdccddc8f76c7dddb6c271b7b4f5c9f5d10 (diff) | |
parent | 3645c345ac88305140b3474fbbbca5c47236933c (diff) | |
download | otp-46574af4f4c8c9c0b0e88fb2c7ce55247a0071fd.tar.gz otp-46574af4f4c8c9c0b0e88fb2c7ce55247a0071fd.tar.bz2 otp-46574af4f4c8c9c0b0e88fb2c7ce55247a0071fd.zip |
Merge branch 'weisslj/fix-epmd-names-win32'
* weisslj/fix-epmd-names-win32:
epmd: Fix -names option on Windows
OTP-11565
Diffstat (limited to 'erts/epmd/src/epmd_cli.c')
-rw-r--r-- | erts/epmd/src/epmd_cli.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/epmd/src/epmd_cli.c b/erts/epmd/src/epmd_cli.c index 8817bde8d7..bd30bc35d9 100644 --- a/erts/epmd/src/epmd_cli.c +++ b/erts/epmd/src/epmd_cli.c @@ -118,7 +118,7 @@ void epmd_call(EpmdVars *g,int what) if (!g->silent) { rval = erts_snprintf(buf, OUTBUF_SIZE, "epmd: up and running on port %d with data:\n", j); - write(1, buf, rval); + fwrite(buf, 1, rval, stdout); } while(1) { if ((rval = read(fd,buf,OUTBUF_SIZE)) <= 0) { @@ -126,7 +126,7 @@ void epmd_call(EpmdVars *g,int what) epmd_cleanup_exit(g,0); } if (!g->silent) - write(1, buf, rval); /* Potentially UTF-8 encoded */ + fwrite(buf, 1, rval, stdout); /* Potentially UTF-8 encoded */ } } |