aboutsummaryrefslogtreecommitdiffstats
path: root/erts/epmd/src/epmd.c
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2012-09-07 12:23:03 +0200
committerBjörn-Egil Dahlberg <[email protected]>2012-09-07 15:52:34 +0200
commit7bd69516a3cab79f869fde5787140ae810c35ef8 (patch)
treecbc7d77e6d3580467524e73af40cfef1540fcd94 /erts/epmd/src/epmd.c
parent0c665266aff319f2dc897e5858d59aa2186bebb4 (diff)
downloadotp-7bd69516a3cab79f869fde5787140ae810c35ef8.tar.gz
otp-7bd69516a3cab79f869fde5787140ae810c35ef8.tar.bz2
otp-7bd69516a3cab79f869fde5787140ae810c35ef8.zip
Replace sprintf with erts_snprintf in epmd
Diffstat (limited to 'erts/epmd/src/epmd.c')
-rw-r--r--erts/epmd/src/epmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/epmd/src/epmd.c b/erts/epmd/src/epmd.c
index 2267f9b12b..3577abf6ba 100644
--- a/erts/epmd/src/epmd.c
+++ b/erts/epmd/src/epmd.c
@@ -64,7 +64,7 @@ int epmd_dbg(int level,int port) /* Utility to debug epmd... */
if(port)
{
argv[argc++] = "-port";
- sprintf(ibuff,"%d",port);
+ erts_snprintf(ibuff, sizeof(ibuff), "%d",port);
argv[argc++] = ibuff;
}
argv[argc] = NULL;