View | Details | Raw Unified | Return to bug 195005
Collapse All | Expand All

(-)share/man/man9/printf.9 (-1 / +1 lines)
Lines 151-157 Link Here
151
printf_test(void)
151
printf_test(void)
152
{
152
{
153
153
154
	printf("reg=%b\en", 3, "\e10\e2BITTWO\e1BITONE\en");
154
	printf("reg=%b\en", 3, "\e10\e2BITTWO\e1BITONE");
155
	printf("out: %4D\en", "AAAA", ":");
155
	printf("out: %4D\en", "AAAA", ":");
156
}
156
}
157
.Ed
157
.Ed
(-)lib/libstand/libstand.3 (-1 / +1 lines)
Lines 288-294 Link Here
288
printf(
288
printf(
289
.Qq reg=%b\en ,
289
.Qq reg=%b\en ,
290
3,
290
3,
291
.Qq \e10\e2BITTWO\e1BITONE\en
291
.Qq \e10\e2BITTWO\e1BITONE
292
);
292
);
293
.Ed
293
.Ed
294
.Pp
294
.Pp
(-)lib/libstand/printf.c (-2 / +2 lines)
Lines 187-193 Link Here
187
 * the next characters (up to a control character, i.e. a character <= 32),
187
 * the next characters (up to a control character, i.e. a character <= 32),
188
 * give the name of the register.  Thus:
188
 * give the name of the register.  Thus:
189
 *
189
 *
190
 *	kvprintf("reg=%b\n", 3, "\10\2BITTWO\1BITONE\n");
190
 *	kvprintf("reg=%b\n", 3, "\10\2BITTWO\1BITONE");
191
 *
191
 *
192
 * would produce output:
192
 * would produce output:
193
 *
193
 *
Lines 500-506 Link Here
500
			while (percent < fmt)
500
			while (percent < fmt)
501
				PCHAR(*percent++);
501
				PCHAR(*percent++);
502
			/*
502
			/*
503
			 * Since we ignore an formatting argument it is no 
503
			 * Since we ignore a formatting argument it is no 
504
			 * longer safe to obey the remaining formatting
504
			 * longer safe to obey the remaining formatting
505
			 * arguments as the arguments will no longer match
505
			 * arguments as the arguments will no longer match
506
			 * the format specs.
506
			 * the format specs.
(-)sys/kern/subr_prf.c (-1 / +1 lines)
Lines 598-604 Link Here
598
 * the next characters (up to a control character, i.e. a character <= 32),
598
 * the next characters (up to a control character, i.e. a character <= 32),
599
 * give the name of the register.  Thus:
599
 * give the name of the register.  Thus:
600
 *
600
 *
601
 *	kvprintf("reg=%b\n", 3, "\10\2BITTWO\1BITONE\n");
601
 *	kvprintf("reg=%b\n", 3, "\10\2BITTWO\1BITONE");
602
 *
602
 *
603
 * would produce output:
603
 * would produce output:
604
 *
604
 *

Return to bug 195005