Module Name: src Committed By: christos Date: Fri Dec 4 21:39:18 UTC 2015
Modified Files: src/sbin/gpt: resizedisk.c Log Message: type confusion To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sbin/gpt/resizedisk.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sbin/gpt/resizedisk.c diff -u src/sbin/gpt/resizedisk.c:1.16 src/sbin/gpt/resizedisk.c:1.17 --- src/sbin/gpt/resizedisk.c:1.16 Fri Dec 4 11:46:24 2015 +++ src/sbin/gpt/resizedisk.c Fri Dec 4 16:39:18 2015 @@ -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 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; }