diff options
author | Björn-Egil Dahlberg <[email protected]> | 2012-09-07 12:23:03 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2012-09-07 15:52:34 +0200 |
commit | 7bd69516a3cab79f869fde5787140ae810c35ef8 (patch) | |
tree | cbc7d77e6d3580467524e73af40cfef1540fcd94 /erts/epmd/src/epmd.c | |
parent | 0c665266aff319f2dc897e5858d59aa2186bebb4 (diff) | |
download | otp-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.c | 2 |
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; |