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)
committerGrazvydas Ignotas <notasas@gmail.com>
Sat, 2 Mar 2013 20:11:47 +0000 (22:11 +0200)
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/ubi/build.c

index 44465ef..63a4e30 100644 (file)
@@ -945,7 +945,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