diff options
Diffstat (limited to 'cmd/pstore.c')
-rw-r--r-- | cmd/pstore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/pstore.c b/cmd/pstore.c index c6973aeb28..9fac8c7218 100644 --- a/cmd/pstore.c +++ b/cmd/pstore.c @@ -279,7 +279,7 @@ static int pstore_display(struct cmd_tbl *cmdtp, int flag, int argc, - pstore_ftrace_size - pstore_console_size; if (argc > 2) { - ptr += simple_strtoul(argv[2], NULL, 10) + ptr += dectoul(argv[2], NULL) * pstore_record_size; ptr_end = ptr + pstore_record_size; } |