summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorJacek Masiulaniec <jacekm@cvs.openbsd.org>2009-01-29 22:34:22 +0000
committerJacek Masiulaniec <jacekm@cvs.openbsd.org>2009-01-29 22:34:22 +0000
commit8d54fbaef97a1994a4eb75b04d64c570071fba29 (patch)
treedae5889de778d03079aa42f16920623f707d7ffb /usr.sbin
parent89c9af902e342d2d6df67b4a4e6cfda04adead14 (diff)
fix compiler warning
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/smtpd/smtpctl.c4
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);