summaryrefslogtreecommitdiff
path: root/src/user/app/iostress/iostress.c
diff options
context:
space:
mode:
authordzwdz2023-02-23 18:31:23 +0100
committerdzwdz2023-02-23 18:31:23 +0100
commit55224307bf9b3e4231daca9ad4c4e3b6d734869b (patch)
tree18e0e3cc897efe60c96d3ee2ed02cb60a4571611 /src/user/app/iostress/iostress.c
parentc9daa8909313b020df57605d0bd50ac48b208d58 (diff)
fix: printf related warnings
Diffstat (limited to 'src/user/app/iostress/iostress.c')
-rw-r--r--src/user/app/iostress/iostress.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/user/app/iostress/iostress.c b/src/user/app/iostress/iostress.c
index 3a3a23c..ac555de 100644
--- a/src/user/app/iostress/iostress.c
+++ b/src/user/app/iostress/iostress.c
@@ -35,9 +35,9 @@ int main(int argc, char **argv) {
for (long i = 0; i < num_runs; i++) {
uint64_t scaled = results[i] / 3000;
total += scaled;
- fprintf(stderr, "run %u: %u\n", i, scaled);
+ fprintf(stderr, "run %ld: %lu\n", i, scaled);
}
- fprintf(stderr, "%u calls, %u bytes. avg %u\n", num_calls, num_bytes, total / num_runs);
+ fprintf(stderr, "%lu calls, %lu bytes. avg %lu\n", num_calls, num_bytes, total / num_runs);
return 0;
}