Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jun 2003 11:14:04 -0400 (EDT)
From:      Andre Guibert de Bruet <andy@siliconlandmark.com>
To:        current@freebsd.org
Subject:   [PATCH] Missing case statement in sys/boot/pc98/boot2/io.c
Message-ID:  <20030629110309.R3470@alpha.siliconlandmark.com>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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/    >
[-- Attachment #2 --]
--- 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;
+			      }
 			}
 }
 
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030629110309.R3470>