From 8d54fbaef97a1994a4eb75b04d64c570071fba29 Mon Sep 17 00:00:00 2001 From: Jacek Masiulaniec Date: Thu, 29 Jan 2009 22:34:22 +0000 Subject: fix compiler warning --- usr.sbin/smtpd/smtpctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin') 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 @@ -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); -- cgit v1.2.3