[PATCH] Missing case statement in sys/boot/pc98/boot2/io.c

Andre Guibert de Bruet andy at siliconlandmark.com
Sun Jun 29 08:14:06 PDT 2003


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/    >
-------------- next part --------------
--- 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;
+			      }
 			}
 }
 


More information about the freebsd-current mailing list