diff options
author | 2009-01-29 22:34:21 +0000 | |
---|---|---|
committer | 2009-01-29 22:34:21 +0000 | |
commit | 74a8d63c8fa5ae76aaf54f0a6c2bb899992b14d0 (patch) | |
tree | 69e132863401bfe9dee155b006f2560cfcfaf768 | |
parent | Remove KASSERT() that could trigger when an rthread in sigwait() (diff) | |
download | wireguard-openbsd-74a8d63c8fa5ae76aaf54f0a6c2bb899992b14d0.tar.xz wireguard-openbsd-74a8d63c8fa5ae76aaf54f0a6c2bb899992b14d0.zip |
fix compiler warning
-rw-r--r-- | usr.sbin/smtpd/smtpctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/smtpctl.c b/usr.sbin/smtpd/smtpctl.c index dbebeaacc91..3d4f2efd277 100644 --- a/usr.sbin/smtpd/smtpctl.c +++ b/usr.sbin/smtpd/smtpctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpctl.c,v 1.8 2009/01/29 21:59:15 jacekm Exp $ */ +/* $OpenBSD: smtpctl.c,v 1.9 2009/01/29 22:34:21 jacekm Exp $ */ /* * Copyright (c) 2006 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -272,7 +272,7 @@ show_stats_output(struct imsg *imsg) if (left > 0) return (0); - printf("parent.uptime = %zd\n", time(NULL) - s_parent.start); + printf("parent.uptime = %d\n", time(NULL) - s_parent.start); printf("queue.inserts = %zd\n", s_queue.inserts); printf("runner.active = %zd\n", s_runner.active); printf("smtp.clients = %zd\n", s_smtp.clients); |