diff options
author | Brian Norris <computersforpeace@gmail.com> | 2010-11-29 00:02:00 -0800 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2010-12-02 05:25:57 +0200 |
commit | ac6fdbad5dfc690b6a1ddf02d3005407aa1e4846 (patch) | |
tree | e014d4958e84488788f1564c81fb30bf2bd9adc4 | |
parent | beb602b6a3d1cc7b2edaab517d94abebe5f4a445 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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", |