diff options
author | Denis Vlasenko | 2007-01-27 22:24:59 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-01-27 22:24:59 +0000 |
commit | ca549c5e69a276918c3b66794d2e860caa9d28cf (patch) | |
tree | 037962e903fc473938d62f678b7ef6c4a00b2ad0 /runit/runit_lib.c | |
parent | bde74b617f0c17921a846a28aac63330951a9cc7 (diff) | |
download | busybox-ca549c5e69a276918c3b66794d2e860caa9d28cf.zip busybox-ca549c5e69a276918c3b66794d2e860caa9d28cf.tar.gz |
svlogd: remove unused buffering, stop doing tons of memcpy
Diffstat (limited to 'runit/runit_lib.c')
-rw-r--r-- | runit/runit_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runit/runit_lib.c b/runit/runit_lib.c index aa1d960..6401ba0 100644 --- a/runit/runit_lib.c +++ b/runit/runit_lib.c @@ -286,12 +286,12 @@ uint64_t taia2millisec(const struct taia *t) } -void iopause(iopause_fd *x,unsigned len,struct taia *deadline,struct taia *stamp) +void iopause(iopause_fd *x, unsigned len, struct taia *deadline, struct taia *stamp) { int millisecs; int i; - if (taia_less(deadline,stamp)) + if (taia_less(deadline, stamp)) millisecs = 0; else { uint64_t m; |