From f0844c9a62919fb8eded8e838d42d92594825def Mon Sep 17 00:00:00 2001 From: Alexander von Gernler Date: Tue, 27 Sep 2005 12:26:14 +0000 Subject: typo in comment: sprintf -> snprintf, ok markus@ --- sys/kern/subr_prf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c index 8c5edfab33e..d9df3f871d4 100644 --- a/sys/kern/subr_prf.c +++ b/sys/kern/subr_prf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_prf.c,v 1.61 2005/04/14 21:58:50 krw Exp $ */ +/* $OpenBSD: subr_prf.c,v 1.62 2005/09/27 12:26:13 grunk Exp $ */ /* $NetBSD: subr_prf.c,v 1.45 1997/10/24 18:14:25 chuck Exp $ */ /*- @@ -83,7 +83,7 @@ extern int uvm_doswapencrypt; #define TOCONS 0x01 /* to the console */ #define TOTTY 0x02 /* to the process' tty */ #define TOLOG 0x04 /* to the kernel message buffer */ -#define TOBUFONLY 0x08 /* to the buffer (only) [for sprintf] */ +#define TOBUFONLY 0x08 /* to the buffer (only) [for snprintf] */ #define TODDB 0x10 /* to ddb console */ #define TOCOUNT 0x20 /* act like [v]snprintf */ @@ -484,7 +484,7 @@ db_printf(const char *fmt, ...) /* - * normal kernel printf functions: printf, vprintf, sprintf + * normal kernel printf functions: printf, vprintf, snprintf */ /* -- cgit v1.2.3