Use fromPointer to convert pointer in printFormat()

This commit is contained in:
Eryn Wells 2016-04-17 16:50:15 -04:00
parent a3901330cd
commit fa94fb7f0b

View file

@ -139,7 +139,7 @@ Spec::print(kernel::Console& console)
break;
}
} else if (type == Type::Pointer) {
length = kstd::CString::fromUnsignedInteger(value.p, buf, 32, 16, true);
length = kstd::CString::fromPointer(value.p, buf, 32, 16, true);
}
if (width < length) {
width = length;