summaryrefslogtreecommitdiff
path: root/src/user/app/shell/shell.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/shell/shell.c
parentc9daa8909313b020df57605d0bd50ac48b208d58 (diff)
fix: printf related warnings
Diffstat (limited to 'src/user/app/shell/shell.c')
-rw-r--r--src/user/app/shell/shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user/app/shell/shell.c b/src/user/app/shell/shell.c
index 5808de1..d2d7e37 100644
--- a/src/user/app/shell/shell.c
+++ b/src/user/app/shell/shell.c
@@ -72,7 +72,7 @@ void run_args(int argc, char **argv, struct redir *redir) {
uint64_t div = 3000;
run_args(argc - 1, argv + 1, redir);
time = __rdtsc() - time;
- printf("%u ns (assuming 3GHz)\n", time / div);
+ printf("%lu ns (assuming 3GHz)\n", time / div);
return;
} else if (!strcmp(argv[0], "exit")) {
exit(0);