aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_bif_timer.c
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-02-24 10:05:27 +0100
committerBjörn Gustavsson <[email protected]>2011-02-24 10:05:27 +0100
commit3e8194197566efb051b3b09114fe5f91f4d611f9 (patch)
treec00777c1863c8e950c2fb336a0a3d8de9e52ab10 /erts/emulator/beam/erl_bif_timer.c
parent25bff78c1650c156b31772bf8072441f4edf3759 (diff)
downloadotp-3e8194197566efb051b3b09114fe5f91f4d611f9.tar.gz
otp-3e8194197566efb051b3b09114fe5f91f4d611f9.tar.bz2
otp-3e8194197566efb051b3b09114fe5f91f4d611f9.zip
Write the value "Time left" for BIF timers as an unsigned integer
Diffstat (limited to 'erts/emulator/beam/erl_bif_timer.c')
-rw-r--r--erts/emulator/beam/erl_bif_timer.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_bif_timer.c b/erts/emulator/beam/erl_bif_timer.c
index 3508e8e0dc..db771bd216 100644
--- a/erts/emulator/beam/erl_bif_timer.c
+++ b/erts/emulator/beam/erl_bif_timer.c
@@ -1,7 +1,7 @@
/*
* %CopyrightBegin%
*
- * Copyright Ericsson AB 2005-2010. All Rights Reserved.
+ * Copyright Ericsson AB 2005-2011. All Rights Reserved.
*
* The contents of this file are subject to the Erlang Public License,
* Version 1.1, (the "License"); you may not use this file except in
@@ -613,7 +613,8 @@ erts_print_bif_timer_info(int to, void *to_arg)
: btm->receiver.proc.ess->id);
erts_print(to, to_arg, "=timer:%T\n", receiver);
erts_print(to, to_arg, "Message: %T\n", btm->message);
- erts_print(to, to_arg, "Time left: %d ms\n", erts_time_left(&btm->tm));
+ erts_print(to, to_arg, "Time left: %u ms\n",
+ erts_time_left(&btm->tm));
}
}