summaryrefslogtreecommitdiffstats
path: root/commands/memtester/memtester.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/memtester/memtester.c')
-rw-r--r--commands/memtester/memtester.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/memtester/memtester.c b/commands/memtester/memtester.c
index 8b64d32329..130dc97c83 100644
--- a/commands/memtester/memtester.c
+++ b/commands/memtester/memtester.c
@@ -139,7 +139,7 @@ static int do_memtester(int argc, char **argv) {
wantbytes = (size_t) strtoull_suffix(argv[optind], 0, 0);
if (wantbytes < 2 * sizeof(ul)) {
- printf("need at least %ldB of memory to test\n", 2 * sizeof(ul));
+ printf("need at least %zuB of memory to test\n", 2 * sizeof(ul));
return COMMAND_ERROR_USAGE;
}
wantmb = (wantbytes >> 20);