diff options
author | Rickard Green <[email protected]> | 2012-12-19 23:22:06 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2012-12-19 23:22:06 +0100 |
commit | cf4eb83fc4de777bcb874111d4b197915b5db47e (patch) | |
tree | 4b8a011a5f616e3f39fd66a881e0cc2cce1be569 /erts/emulator/test/driver_SUITE_data/thr_msg_blast_drv.c | |
parent | 22cc487ec5381d15a2edebc2024c0cb36125ea44 (diff) | |
download | otp-cf4eb83fc4de777bcb874111d4b197915b5db47e.tar.gz otp-cf4eb83fc4de777bcb874111d4b197915b5db47e.tar.bz2 otp-cf4eb83fc4de777bcb874111d4b197915b5db47e.zip |
Replace use of deprecated functions in test cases
driver_send_term() replaced by erl_drv_send_term().
driver_output_term() replaced by erl_drv_output_term().
Diffstat (limited to 'erts/emulator/test/driver_SUITE_data/thr_msg_blast_drv.c')
-rw-r--r-- | erts/emulator/test/driver_SUITE_data/thr_msg_blast_drv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/test/driver_SUITE_data/thr_msg_blast_drv.c b/erts/emulator/test/driver_SUITE_data/thr_msg_blast_drv.c index 1070678d7b..5a9112afa3 100644 --- a/erts/emulator/test/driver_SUITE_data/thr_msg_blast_drv.c +++ b/erts/emulator/test/driver_SUITE_data/thr_msg_blast_drv.c @@ -168,8 +168,8 @@ static void *thread(void *varg) for (s = 0; s < THR_MSG_BLAST_NO_SENDS_PER_PROC; s++) { for (p = 0; p < THR_MSG_BLAST_NO_PROCS; p++) { - int res = driver_send_term(tmbd->port, tmbd->proc[p], - spec, sizeof(spec)/sizeof(spec[0])); + int res = erl_drv_send_term(tmbd->td_port, tmbd->proc[p], + spec, sizeof(spec)/sizeof(spec[0])); if (p == 0 && res <= 0) abort(); /* Could not send to creator */ } |