Commit Diff


commit - 00b436f9d7c309fc77601089267dd0061726567b
commit + ca125bbacde9d4da363a16d25d070c460d402eee
blob - 07a235ebfc40c8b9fd3a415efa3cb4fec023982f
blob + 14e4333a4e3d9b479e15a8cb1f53b12d7686e77d
--- lstun.c
+++ lstun.c
@@ -161,8 +161,8 @@ errcb(struct bufferevent *bev, short event, void *d)
 	c->to = -1;
 
 	if (--conn == 0) {
-		warnx("scheduling ssh termination (%lds)",
-		    timeout.tv_sec);
+		warnx("scheduling ssh termination (%llds)",
+		    (long long)timeout.tv_sec);
 		evtimer_set(&timeoutev, killing_time, NULL);
 		evtimer_add(&timeoutev, &timeout);
 	}