From 4d6fe1c317f0a541922f4cf945365fd31e608e10 Mon Sep 17 00:00:00 2001 From: Jake Mannens Date: Wed, 18 Mar 2020 14:01:12 +1100 Subject: 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. --- kernel/hd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel/hd.c') diff --git a/kernel/hd.c b/kernel/hd.c index 83108dd..1540294 100644 --- a/kernel/hd.c +++ b/kernel/hd.c @@ -179,6 +179,6 @@ int hd_init(void) { return -1; } - printk("[hd] Primary bus master drive initialized! (status: 0x%02x, nsects: 0x%01x)\n", s, nblocks); + printk("[hd] Primary bus master drive initialized! (status: 0x%02X, nsects: 0x%01X)\n", s, nblocks); return 0; } -- cgit v1.3