diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2019-11-29 16:14:48 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-12-02 11:02:21 +0100 |
commit | 189e49d0e68380b501883bbd3cc9a91714a74956 (patch) | |
tree | 21199f7c47ce2b98842d817c954421aff75a2e97 /fs/pstore | |
parent | c850f3f66f297465224ef7455247c98437c3b9b0 (diff) | |
download | barebox-189e49d0e68380b501883bbd3cc9a91714a74956.tar.gz barebox-189e49d0e68380b501883bbd3cc9a91714a74956.tar.xz |
pstore: ramoops: use correct format specifier for size_t variables
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'fs/pstore')
-rw-r--r-- | fs/pstore/ram.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/pstore/ram.c b/fs/pstore/ram.c index b968579692..958f46b0ea 100644 --- a/fs/pstore/ram.c +++ b/fs/pstore/ram.c @@ -623,10 +623,10 @@ static int ramoops_probe(struct device_d *dev) if (!IS_ENABLED(CONFIG_OFTREE)) { scnprintf(kernelargs, sizeof(kernelargs), - "ramoops.record_size=0x%x " - "ramoops.console_size=0x%x " - "ramoops.ftrace_size=0x%x " - "ramoops.pmsg_size=0x%x " + "ramoops.record_size=0x%zx " + "ramoops.console_size=0x%zx " + "ramoops.ftrace_size=0x%zx " + "ramoops.pmsg_size=0x%zx " "ramoops.mem_address=0x%llx " "ramoops.mem_size=0x%lx " "ramoops.ecc=%d", |