diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-08-22 09:28:18 -0400 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-09-04 02:38:57 -0400 |
commit | 5739dd72139a8aa079288d245dcd5726dd248e6b (patch) | |
tree | 5620e51f825882e0aca616b737aa89df4f55264e | |
parent | 4cbe5a555fa58a79b6ecbb6c531b8bab0650778d (diff) |
UBI: print image sequence number as unsigned integer
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
-rw-r--r-- | drivers/mtd/ubi/build.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/build.c b/drivers/mtd/ubi/build.c index 2c5ed5ca9c33..3174dd40095d 100644 --- a/drivers/mtd/ubi/build.c +++ b/drivers/mtd/ubi/build.c | |||
@@ -940,7 +940,7 @@ int ubi_attach_mtd_dev(struct mtd_info *mtd, int ubi_num, int vid_hdr_offset) | |||
940 | ubi_msg("number of PEBs reserved for bad PEB handling: %d", | 940 | ubi_msg("number of PEBs reserved for bad PEB handling: %d", |
941 | ubi->beb_rsvd_pebs); | 941 | ubi->beb_rsvd_pebs); |
942 | ubi_msg("max/mean erase counter: %d/%d", ubi->max_ec, ubi->mean_ec); | 942 | ubi_msg("max/mean erase counter: %d/%d", ubi->max_ec, ubi->mean_ec); |
943 | ubi_msg("image sequence number: %d", ubi->image_seq); | 943 | ubi_msg("image sequence number: %u", ubi->image_seq); |
944 | 944 | ||
945 | /* | 945 | /* |
946 | * The below lock makes sure we do not race with 'ubi_thread()' which | 946 | * The below lock makes sure we do not race with 'ubi_thread()' which |