It's non-standard and is not used anymore.
(grub_printf): Likewise.
+2004-05-03 Pavel Roskin <proski@gnu.org>
+
+ * stage2/char_io.c (convert_to_ascii): Remove "%b" support.
+ It's non-standard and is not used anymore.
+ (grub_printf): Likewise.
+
2004-04-29 Robert Millan <robertmh@gnu.org>
From Yann Dirson <dirson@debian.org>:
char *ptr = buf;
#ifndef STAGE1_5
- if (c == 'x' || c == 'X' || c == 'b')
+ if (c == 'x' || c == 'X')
mult = 16;
if ((num & 0x80000000uL) && c == 'd')
{
int *dataptr = (int *) &format;
char c, str[16];
- unsigned long mask = 0xFFFFFFFF;
dataptr++;
switch (c = *(format++))
{
#ifndef STAGE1_5
- case 'b':
- mask = 0xFF;
- /* Fall down intentionally! */
case 'd':
case 'x':
case 'X':
#endif
case 'u':
- *convert_to_ascii (str, c, *((unsigned long *) dataptr++) & mask)
- = 0;
+ *convert_to_ascii (str, c, *((unsigned long *) dataptr++)) = 0;
grub_putstr (str);
break;