Hi,

There's a case statement missing in the implementation of printf located
in sys/boot/pc98/boot2/io.c to handle double % signs in the format
argument.

I realize that this would probably never be used under normal conditions
but for correctness, shouldn't the attached patch be committed?

Regards,

> Andre Guibert de Bruet | Enterprise Software Consultant >
> Silicon Landmark, LLC. | http://siliconlandmark.com/    >
--- io.c.orig   Sun Jun 29 11:05:36 2003
+++ io.c        Sun Jun 29 11:06:48 2003
@@ -96,6 +96,10 @@
                                              putchar(c);
                                      break;
                              }
+                             case '%': {
+                                     putchar(c);
+                                     break;
+                             }
                        }
 }
 
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to