summaryrefslogtreecommitdiff
path: root/src/user/app/testelf/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/app/testelf/main.c')
-rw-r--r--src/user/app/testelf/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/user/app/testelf/main.c b/src/user/app/testelf/main.c
index 5111791..aa1f596 100644
--- a/src/user/app/testelf/main.c
+++ b/src/user/app/testelf/main.c
@@ -5,8 +5,8 @@ const char *str = "Hello!", *str2 = "World.";
int main(int argc, char **argv, char **envp) {
printf("elftest's &main == 0x%x\n", &main);
printf("%s %s\n", str, str2);
- printf("argc == 0x%x\n", argc);
+ printf("argc == %u\n", argc);
for (int i = 0; i < argc; i++)
- printf("argv[0x%x] == 0x%x == \"%s\"\n", i, argv[i], argv[i]);
+ printf("argv[%u] == 0x%x == \"%s\"\n", i, argv[i], argv[i]);
return 0;
}