diff options
author | Alexander von Gernler <grunk@cvs.openbsd.org> | 2005-09-27 12:26:14 +0000 |
---|---|---|
committer | Alexander von Gernler <grunk@cvs.openbsd.org> | 2005-09-27 12:26:14 +0000 |
commit | f0844c9a62919fb8eded8e838d42d92594825def (patch) | |
tree | 0f76756fc3e924b67003605a3943bb4b298f4987 | |
parent | 6fce6c53f8e8eb624a4c66c3350d7ccf00470090 (diff) |
typo in comment: sprintf -> snprintf, ok markus@
-rw-r--r-- | sys/kern/subr_prf.c | 6 |
1 files 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 */ /* |