Module Name: src
Committed By: christos
Date: Fri Apr 2 19:33:09 UTC 2010
Modified Files:
src/sbin/gpt: gpt.c
Log Message:
fix printf format.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sbin/gpt/gpt.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/gpt.c
diff -u src/sbin/gpt/gpt.c:1.11 src/sbin/gpt/gpt.c:1.12
--- src/sbin/gpt/gpt.c:1.11 Fri Apr 2 09:36:59 2010
+++ src/sbin/gpt/gpt.c Fri Apr 2 15:33:09 2010
@@ -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;