summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
Diffstat (limited to 'kern')
-rw-r--r--kern/printf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kern/printf.c b/kern/printf.c
index e6478ae..7dcb798 100644
--- a/kern/printf.c
+++ b/kern/printf.c
@@ -50,6 +50,7 @@
*
* %d decimal conversion
* %u unsigned conversion
+ * %p pointer address
* %x hexadecimal conversion
* %X hexadecimal conversion with capital letters
* %o octal conversion
@@ -399,6 +400,7 @@ void _doprnt(
base = 10;
goto print_unsigned;
+ case 'p':
case 'x':
truncate = _doprnt_truncates;
case 'X':