printf: Treat %g as %f for now.

This commit is contained in:
Andreas Kling 2019-06-18 09:46:39 +02:00
parent aa3df518e7
commit 9f7c11710f

View file

@ -243,6 +243,7 @@ template<typename PutChFunc>
break;
#ifndef KERNEL
case 'g':
case 'f':
// FIXME: Print as float!
ret += print_number(putch, bufptr, (int)va_arg(ap, double), leftPad, zeroPad, fieldWidth);