summaryrefslogtreecommitdiff
path: root/usrbin/main.c
diff options
context:
space:
mode:
authorJake Mannens <jakem_5@hotmail.com>2020-03-18 14:01:12 +1100
committerJake Mannens <jakem_5@hotmail.com>2020-03-18 14:01:12 +1100
commit4d6fe1c317f0a541922f4cf945365fd31e608e10 (patch)
treeb78f721d50924094d4926ee90131a98ba12eb95e /usrbin/main.c
parenteda36531e8daedd045fb02c9c590cdf4dddd957f (diff)
Added decimal and octal conversion specifiers ('%d' and '%o') to
vsprintf(). Coverted all printk()/printf() functions to capatalised hex for readability. Tidied up some code.
Diffstat (limited to 'usrbin/main.c')
-rw-r--r--usrbin/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usrbin/main.c b/usrbin/main.c
index f05cb84..4706ceb 100644
--- a/usrbin/main.c
+++ b/usrbin/main.c
@@ -47,7 +47,7 @@ void pid2(void) {
sleep(1);
if(time() == 2)
kill(1, 1);
- printf("0x%04x:0x%08x: 0x%08x, 0x%08x\n", getpid(), (uint32_t) getpdir(), time(), x++);
+ printf("0x%04X:0x%08X: 0x%08X, 0x%08X\n", getpid(), (uint32_t) getpdir(), time(), x++);
if(x > 3)
kill(getpid(), SIGKILL);