aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/sys.h
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2012-09-07 15:21:13 +0200
committerBjörn-Egil Dahlberg <[email protected]>2012-09-07 17:01:08 +0200
commit32286d6523d0f46163f1c5e23253516d61c46c78 (patch)
tree6011f537893669d88523beedfc7eadc5040b739e /erts/emulator/beam/sys.h
parent7bd69516a3cab79f869fde5787140ae810c35ef8 (diff)
downloadotp-32286d6523d0f46163f1c5e23253516d61c46c78.tar.gz
otp-32286d6523d0f46163f1c5e23253516d61c46c78.tar.bz2
otp-32286d6523d0f46163f1c5e23253516d61c46c78.zip
Replace sprintf with erts_snprintf in beam
Diffstat (limited to 'erts/emulator/beam/sys.h')
-rw-r--r--erts/emulator/beam/sys.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/sys.h b/erts/emulator/beam/sys.h
index 2c65ce91d1..0e6bec352e 100644
--- a/erts/emulator/beam/sys.h
+++ b/erts/emulator/beam/sys.h
@@ -691,8 +691,8 @@ void fini_getenv_state(GETENV_STATE *);
/* xxxP */
void init_sys_float(void);
int sys_chars_to_double(char*, double*);
-int sys_double_to_chars(double, char*);
-void sys_get_pid(char *);
+int sys_double_to_chars(double, char*, size_t);
+void sys_get_pid(char *, size_t);
/* erts_sys_putenv() returns, 0 on success and a value != 0 on failure. */
int erts_sys_putenv(char *key, char *value);