Source-Changes-HG archive

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

[src/trunk]: src/sbin/gpt fix printf format.



details:   https://anonhg.NetBSD.org/src/rev/782312e7772f
branches:  trunk
changeset: 753584:782312e7772f
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Apr 02 19:33:09 2010 +0000

description:
fix printf format.

diffstat:

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

diffs (22 lines):

diff -r 1942c497475c -r 782312e7772f sbin/gpt/gpt.c
--- a/sbin/gpt/gpt.c    Fri Apr 02 19:25:21 2010 +0000
+++ b/sbin/gpt/gpt.c    Fri Apr 02 19:33:09 2010 +0000
@@ -31,7 +31,7 @@
 __FBSDID("$FreeBSD: src/sbin/gpt/gpt.c,v 1.16 2006/07/07 02:44:23 marcel Exp $");
 #endif
 #ifdef __RCSID
-__RCSID("$NetBSD: gpt.c,v 1.11 2010/04/02 13:36:59 christos Exp $");
+__RCSID("$NetBSD: gpt.c,v 1.12 2010/04/02 19:33:09 christos Exp $");
 #endif
 
 #include <sys/param.h>
@@ -598,7 +598,8 @@
                if (found) {
                        if (verbose)
                                warn("%s: Cannot read LBA table at sector %llu",
-                                   device_name, le64toh(hdr->hdr_lba_table));
+                                   device_name, (unsigned long long)
+                                   le64toh(hdr->hdr_lba_table));
                        return (-1);
                }
                goto fail_hdr;



Home | Main Index | Thread Index | Old Index