type confusion

This commit is contained in:
christos 2015-12-04 21:39:18 +00:00
parent 6c37bffdde
commit af38b629ef
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@
__FBSDID("$FreeBSD: src/sbin/gpt/add.c,v 1.14 2006/06/22 22:05:28 marcel Exp $");
#endif
#ifdef __RCSID
__RCSID("$NetBSD: resizedisk.c,v 1.16 2015/12/04 16:46:24 christos Exp $");
__RCSID("$NetBSD: resizedisk.c,v 1.17 2015/12/04 21:39:18 christos Exp $");
#endif
#include <sys/bootblock.h>
@ -272,7 +272,7 @@ cmd_resizedisk(gpt_t gpt, int argc, char *argv[])
return -1;
if (--sector == 0) {
gpt_warnx(gpt, "New size %ju too small", (uintptr_t)size);
gpt_warnx(gpt, "New size %ju too small", (uintmax_t)size);
return -1;
}