diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2012-09-04 20:29:18 +0200 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2012-09-05 22:35:48 +0400 |
commit | b4eec284b0814c01c575492af73dbe23ff81f5e8 (patch) | |
tree | d0bb188f1cd694f773b0cf26e00f4e2205311951 /accel-pppd/logs/log_file.c | |
parent | fdeeb6f8547617a0478ffe847b76c46fa45487d0 (diff) | |
download | accel-ppp-b4eec284b0814c01c575492af73dbe23ff81f5e8.tar.gz accel-ppp-b4eec284b0814c01c575492af73dbe23ff81f5e8.zip |
Fix format string errors
Fix several errors and compiler warnings in format string
arguments.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd/logs/log_file.c')
-rw-r--r-- | accel-pppd/logs/log_file.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/accel-pppd/logs/log_file.c b/accel-pppd/logs/log_file.c index 6dd7203b..3a618237 100644 --- a/accel-pppd/logs/log_file.c +++ b/accel-pppd/logs/log_file.c @@ -201,7 +201,6 @@ overrun: static void send_next_chunk(void) { struct log_file_t *lf; - int n; spin_lock(&lf_queue_lock); if (list_empty(&lf_queue)) { @@ -211,7 +210,6 @@ static void send_next_chunk(void) } lf = list_entry(lf_queue.next, typeof(*lf), entry); - n = log_file->entry.next == NULL; list_del(&lf->entry); spin_unlock(&lf_queue_lock); |