summaryrefslogtreecommitdiffstats
path: root/src/cache_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cache_timer.c')
-rw-r--r--src/cache_timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cache_timer.c b/src/cache_timer.c
index 8b4e4ea..53ed703 100644
--- a/src/cache_timer.c
+++ b/src/cache_timer.c
@@ -62,7 +62,7 @@ static int timer_dump(struct us_conntrack *u, void *data, char *buf, int type)
gettimeofday(&tv, NULL);
timersub(&tv, &alarm->tv, &tmp);
- return sprintf(buf, " [expires in %ds]", tmp.tv_sec);
+ return sprintf(buf, " [expires in %lds]", tmp.tv_sec);
}
struct cache_feature timer_feature = {