summaryrefslogtreecommitdiff
path: root/kerberosV
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-06-19 01:05:17 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-06-19 01:05:17 +0000
commit6fd2d26e954fe36fd50323d30c6d1cdc093ef9d9 (patch)
tree54ea249d0f39bbe4aeb1fdf7b1baad059c73ed85 /kerberosV
parent6b0fdff1f7b87ede47d85e90a1d570a842cfcdec (diff)
correct size_t printing
Diffstat (limited to 'kerberosV')
-rw-r--r--kerberosV/src/kdc/hprop.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/kerberosV/src/kdc/hprop.c b/kerberosV/src/kdc/hprop.c
index 08feee31199..968e31ed0ce 100644
--- a/kerberosV/src/kdc/hprop.c
+++ b/kerberosV/src/kdc/hprop.c
@@ -334,10 +334,11 @@ read_block(krb5_context context, int fd, int32_t pos, void *buf, size_t len)
krb5_err(context, 1, errno, "lseek(%u)", 64 + pos);
ret = read(fd, buf, len);
if(ret < 0)
- krb5_err(context, 1, errno, "read(%u)", len);
+ krb5_err(context, 1, errno, "read(%lu)", (unsigned long)len);
#endif
if(ret != len)
- krb5_errx(context, 1, "read(%u) = %u", len, ret);
+ krb5_errx(context, 1, "read(%lu) = %lu", (unsigned long)len,
+ (unsigned long)ret);
}
static int