aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2010-11-29 00:02:00 -0800
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-12-02 05:25:57 +0200
commitac6fdbad5dfc690b6a1ddf02d3005407aa1e4846 (patch)
treee014d4958e84488788f1564c81fb30bf2bd9adc4
parentbeb602b6a3d1cc7b2edaab517d94abebe5f4a445 (diff)
nanddump: choose correct "printf" format-specifier
The mtd-descriptor attributes contain signed data, not unsigned. Signed-off-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
-rw-r--r--nanddump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nanddump.c b/nanddump.c
index 6a6f904..1dbb247 100644
--- a/nanddump.c
+++ b/nanddump.c
@@ -381,7 +381,7 @@ int main(int argc, char * const argv[])
/* Print informative message */
if (!quiet) {
- fprintf(stderr, "Block size %u, page size %u, OOB size %u\n",
+ fprintf(stderr, "Block size %d, page size %d, OOB size %d\n",
mtd.eb_size, mtd.min_io_size, mtd.oob_size);
fprintf(stderr,
"Dumping data starting at 0x%08llx and ending at 0x%08llx...\n",