summaryrefslogtreecommitdiff
path: root/kernel/hd.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 /kernel/hd.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 'kernel/hd.c')
-rw-r--r--kernel/hd.c2
1 files changed, 1 insertions, 1 deletions
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;
}