diff options
author | dzwdz | 2022-08-03 00:23:50 +0200 |
---|---|---|
committer | dzwdz | 2022-08-03 00:23:50 +0200 |
commit | a2a1e4bbfcda8c1314b592c8c940e96e95cb68d4 (patch) | |
tree | 200f63d71eb07b9f9c53ab4f14b58b7b15b2f4bf /src/user/app/shell | |
parent | b4447c1c7bc8639774df6bd74428977908bff61e (diff) |
shared: clean up printf, %u support (amongst other things)
Diffstat (limited to 'src/user/app/shell')
-rw-r--r-- | src/user/app/shell/shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user/app/shell/shell.c b/src/user/app/shell/shell.c index 6eb328f..66725a1 100644 --- a/src/user/app/shell/shell.c +++ b/src/user/app/shell/shell.c @@ -51,7 +51,7 @@ static 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("0x%x ns (assuming 3GHz)\n", time / div); + printf("%u ns (assuming 3GHz)\n", time / div); return; } else if (!strcmp(argv[0], "exit")) { exit(0); |