Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/gpt type confusion



details:   https://anonhg.NetBSD.org/src/rev/6b0542639b17
branches:  trunk
changeset: 342075:6b0542639b17
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Dec 04 21:39:18 2015 +0000

description:
type confusion

diffstat:

 sbin/gpt/resizedisk.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r cb914d556942 -r 6b0542639b17 sbin/gpt/resizedisk.c
--- a/sbin/gpt/resizedisk.c     Fri Dec 04 20:16:23 2015 +0000
+++ b/sbin/gpt/resizedisk.c     Fri Dec 04 21:39:18 2015 +0000
@@ -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 @@
                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;
        }
 



Home | Main Index | Thread Index | Old Index