summaryrefslogtreecommitdiffstats
path: root/src/hci
diff options
context:
space:
mode:
Diffstat (limited to 'src/hci')
-rw-r--r--src/hci/commands/time_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hci/commands/time_cmd.c b/src/hci/commands/time_cmd.c
index d1dd49ca..08148bf3 100644
--- a/src/hci/commands/time_cmd.c
+++ b/src/hci/commands/time_cmd.c
@@ -68,7 +68,7 @@ static int time_exec ( int argc, char **argv ) {
start = currticks();
rc = execv ( argv[1], argv + 1 );
elapsed = ( currticks() - start );
- decisecs = ( 10 * elapsed / ticks_per_sec() );
+ decisecs = ( 10 * elapsed / TICKS_PER_SEC );
printf ( "%s: %d.%ds\n", argv[0],
( decisecs / 10 ), ( decisecs % 10 ) );