projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4cc69f
)
audiod: Fix time diff log message.
author
Andre Noll
<maan@systemlinux.org>
Sat, 30 Jan 2010 13:15:10 +0000
(14:15 +0100)
committer
Andre Noll
<maan@systemlinux.org>
Sat, 30 Jan 2010 13:15:10 +0000
(14:15 +0100)
The average time diff was always displayed as "+".
audiod.c
patch
|
blob
|
history
diff --git
a/audiod.c
b/audiod.c
index
965286f
..
a18489d
100644
(file)
--- a/
audiod.c
+++ b/
audiod.c
@@
-654,9
+654,9
@@
static unsigned compute_time_diff(const struct timeval *status_time)
&tmp);
stat_task->sa_time_diff = tmp;
PARA_INFO_LOG("time diff (cur/avg): %s%lums/%s%lums\n",
- sign
> 0? "+" : "-
",
+ sign
< 0? "-" : "+
",
tv2ms(&diff),
- sa_time_diff_sign
? "+" : "-
",
+ sa_time_diff_sign
< 0? "-" : "+
",
tv2ms(&stat_task->sa_time_diff)
);
out: