diff options
author | Charles Longeau <chl@cvs.openbsd.org> | 2011-08-30 07:06:07 +0000 |
---|---|---|
committer | Charles Longeau <chl@cvs.openbsd.org> | 2011-08-30 07:06:07 +0000 |
commit | 3ab97bfd07e3e0e421c83e6296ea376b67dda432 (patch) | |
tree | 77a2e93723599ae1eed0cdafd415786723c51bd9 /usr.sbin/smtpd | |
parent | 1c3d8cf153293036478ac8df8a7b355b8450e816 (diff) |
fix format string
ok gilles@
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r-- | usr.sbin/smtpd/smtpctl.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/smtpd/smtpctl.c b/usr.sbin/smtpd/smtpctl.c index 1eda752cbc1..5f134d55e54 100644 --- a/usr.sbin/smtpd/smtpctl.c +++ b/usr.sbin/smtpd/smtpctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpctl.c,v 1.65 2011/08/29 21:43:09 chl Exp $ */ +/* $OpenBSD: smtpctl.c,v 1.66 2011/08/30 07:06:06 chl Exp $ */ /* * Copyright (c) 2006 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -279,13 +279,13 @@ show_sizes(void) * -- gilles@ * */ - printf("struct ramqueue: %ld\n", sizeof (struct ramqueue)); - printf("struct ramqueue_host: %ld\n", sizeof (struct ramqueue_host)); - printf("struct ramqueue_message: %ld\n", sizeof (struct ramqueue_message)); - printf("struct ramqueue_envelope: %ld\n", sizeof (struct ramqueue_envelope)); + printf("struct ramqueue: %zu\n", sizeof (struct ramqueue)); + printf("struct ramqueue_host: %zu\n", sizeof (struct ramqueue_host)); + printf("struct ramqueue_message: %zu\n", sizeof (struct ramqueue_message)); + printf("struct ramqueue_envelope: %zu\n", sizeof (struct ramqueue_envelope)); - printf("struct envelope: %ld\n", sizeof (struct envelope)); - printf("struct delivery: %ld\n", sizeof (struct delivery)); + printf("struct envelope: %zu\n", sizeof (struct envelope)); + printf("struct delivery: %zu\n", sizeof (struct delivery)); } static int |