Subject: small oversight in kern/subr_prf.c
To: None <tech-kern@NetBSD.ORG>
From: Daniel Pouzzner <douzzer@MIT.EDU>
List: tech-kern
Date: 07/06/1996 04:31:24
the problem is that if you have a fmt string that ends in "%l" kprintf
will just keep hurtling right past the terminating null (gets
defaulted out).

for fix, insert this right after "reswitch:" in ${sys}/kern/subr_prf.c
(at line 394 in v.1-2-1.25 (some time around 22 june)):

                case '\0':
		        putchar('l', flags, tp); /* got at least one, anyway */
			return;

the oversight is duplicated in ${sys}/lib/libsa/printf.c if that's of
any import.

-douzzer
 Menlo Park CA