diff options
| author | Jake Mannens <jakem_5@hotmail.com> | 2020-03-18 14:01:12 +1100 |
|---|---|---|
| committer | Jake Mannens <jakem_5@hotmail.com> | 2020-03-18 14:01:12 +1100 |
| commit | 4d6fe1c317f0a541922f4cf945365fd31e608e10 (patch) | |
| tree | b78f721d50924094d4926ee90131a98ba12eb95e /usrbin | |
| parent | eda36531e8daedd045fb02c9c590cdf4dddd957f (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')
| -rw-r--r-- | usrbin/main.c | 2 |
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); |
