diff options
author | Michael Truog <[email protected]> | 2014-08-22 11:16:02 -0700 |
---|---|---|
committer | Michael Truog <[email protected]> | 2014-08-22 11:16:02 -0700 |
commit | ceec6ba5c24ceef3c074afc2b49d8e77c492c0c4 (patch) | |
tree | 4a8c132af563fd26e1455b119e645bfa74ee1d01 | |
parent | ceb0e42d0b06f67fe0b18d44c47809e969c75997 (diff) | |
download | otp-ceec6ba5c24ceef3c074afc2b49d8e77c492c0c4.tar.gz otp-ceec6ba5c24ceef3c074afc2b49d8e77c492c0c4.tar.bz2 otp-ceec6ba5c24ceef3c074afc2b49d8e77c492c0c4.zip |
Fix ERTS_POLL_DEBUG_PRINT usage
-rw-r--r-- | erts/emulator/sys/common/erl_poll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/sys/common/erl_poll.c b/erts/emulator/sys/common/erl_poll.c index 0a58a625b2..aa412a20c8 100644 --- a/erts/emulator/sys/common/erl_poll.c +++ b/erts/emulator/sys/common/erl_poll.c @@ -2157,7 +2157,7 @@ ERTS_POLL_EXPORT(erts_poll_wait)(ErtsPollSet ps, #ifdef ERTS_POLL_DEBUG_PRINT erts_printf("Entering erts_poll_wait(), timeout=%d\n", - (int) tv->tv_sec*1000 + tv->tv_usec/1000); + (int) tvp->tv_sec*1000 + tvp->tv_usec/1000); #endif if (ERTS_POLLSET_SET_POLLED_CHK(ps)) { |