summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dhclient.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2014-07-09 15:16:39 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2014-07-09 15:16:39 +0000
commit9f3488a8a873f16a09a273b7efdbd28168d05d26 (patch)
tree6d54f1f52d4863ad97ece6e0aec3b0e8f28abdbe /sbin/dhclient/dhclient.c
parent9ede30c5a9be0f1d6818583929755638bdf446f3 (diff)
Print sizeof() value and size_t variable with %zu rather than %zd.
Diffstat (limited to 'sbin/dhclient/dhclient.c')
-rw-r--r--sbin/dhclient/dhclient.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c
index 48ed8e59c82..8ab2ba4269b 100644
--- a/sbin/dhclient/dhclient.c
+++ b/sbin/dhclient/dhclient.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhclient.c,v 1.311 2014/05/23 17:36:59 krw Exp $ */
+/* $OpenBSD: dhclient.c,v 1.312 2014/07/09 15:16:38 krw Exp $ */
/*
* Copyright 2004 Henning Brauer <henning@openbsd.org>
@@ -2350,7 +2350,7 @@ priv_write_file(struct imsg_write_file *imsg)
note("Couldn't write contents to '%s': %s", imsg->path,
strerror(errno));
else if (n < imsg->len)
- note("Short contents write to '%s' (%zd vs %zd)", imsg->path,
+ note("Short contents write to '%s' (%zd vs %zu)", imsg->path,
n, imsg->len);
if (fchmod(fd, imsg->mode) == -1)