diff options
author | guenther <guenther@openbsd.org> | 2013-08-22 04:43:40 +0000 |
---|---|---|
committer | guenther <guenther@openbsd.org> | 2013-08-22 04:43:40 +0000 |
commit | 82ff36301fdb8c25511dd105cf211d26ea7f836e (patch) | |
tree | f17f8c8d35e761468f7997cee38d8a28bf837c8b /usr.sbin/mtree | |
parent | Split out from kdump.c the ktrstruct.c bits into ktrstruct.c (diff) | |
download | wireguard-openbsd-82ff36301fdb8c25511dd105cf211d26ea7f836e.tar.xz wireguard-openbsd-82ff36301fdb8c25511dd105cf211d26ea7f836e.zip |
Correct format string mismatches turned up by -Wformat=2
suggestions and ok millert@
Diffstat (limited to 'usr.sbin/mtree')
-rw-r--r-- | usr.sbin/mtree/create.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/mtree/create.c b/usr.sbin/mtree/create.c index 3eb80cb98c1..777a9bff344 100644 --- a/usr.sbin/mtree/create.c +++ b/usr.sbin/mtree/create.c @@ -1,5 +1,5 @@ /* $NetBSD: create.c,v 1.11 1996/09/05 09:24:19 mycroft Exp $ */ -/* $OpenBSD: create.c,v 1.28 2013/04/16 23:42:44 deraadt Exp $ */ +/* $OpenBSD: create.c,v 1.29 2013/08/22 04:43:41 guenther Exp $ */ /*- * Copyright (c) 1989, 1993 @@ -195,7 +195,7 @@ statf(int indent, FTSENT *p) crc(fd, &val, &len)) error("%s: %s", p->fts_accpath, strerror(errno)); (void)close(fd); - output(indent, &offset, "cksum=%lu", val); + output(indent, &offset, "cksum=%u", val); } if (keys & F_MD5 && S_ISREG(p->fts_statp->st_mode)) { char *md5digest, buf[MD5_DIGEST_STRING_LENGTH]; |