From: Ben Pfaff Date: Sun, 23 Jul 2006 21:56:44 +0000 (+0000) Subject: Fix comment. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e6a3b090ec08077b399dab89437073b144c69d8;p=pintos-anon Fix comment. --- diff --git a/src/lib/stdio.c b/src/lib/stdio.c index e09401a..af80e51 100644 --- a/src/lib/stdio.c +++ b/src/lib/stdio.c @@ -515,7 +515,7 @@ format_integer (uintmax_t value, bool is_signed, bool negative, /* Append enough zeros to match precision. If requested precision is 0, then a value of zero is rendered as a null string, otherwise as "0". - If the # flag is used with base 0, the result must always + If the # flag is used with base 8, the result must always begin with a zero. */ precision = c->precision < 0 ? 1 : c->precision; while (cp - buf < precision && cp < buf + sizeof buf - 1)