UBI: print image sequence number as unsigned integer
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 22 Aug 2012 13:28:18 +0000 (16:28 +0300)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Tue, 4 Sep 2012 06:38:57 +0000 (09:38 +0300)
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/ubi/build.c

index 2c5ed5ca9c3370bdf64ec05ccfab068585975fdf..3174dd40095daafc1a577e2dba35550d5564c5f5 100644 (file)
@@ -940,7 +940,7 @@ int ubi_attach_mtd_dev(struct mtd_info *mtd, int ubi_num, int vid_hdr_offset)
        ubi_msg("number of PEBs reserved for bad PEB handling: %d",
                ubi->beb_rsvd_pebs);
        ubi_msg("max/mean erase counter: %d/%d", ubi->max_ec, ubi->mean_ec);
-       ubi_msg("image sequence number:  %d", ubi->image_seq);
+       ubi_msg("image sequence number:  %u", ubi->image_seq);
 
        /*
         * The below lock makes sure we do not race with 'ubi_thread()' which