diff options
author | 2003-04-25 23:23:50 +0000 | |
---|---|---|
committer | 2003-04-25 23:23:50 +0000 | |
commit | d2e1ab8b246684a7d1c34ed735e60da52cc31fb2 (patch) | |
tree | 778930f4fa76060579ea37ac6fddf70a59d0228c | |
parent | sprintf bye bye (diff) | |
download | wireguard-openbsd-d2e1ab8b246684a7d1c34ed735e60da52cc31fb2.tar.xz wireguard-openbsd-d2e1ab8b246684a7d1c34ed735e60da52cc31fb2.zip |
comment cleanup
-rw-r--r-- | usr.sbin/pppd/chat/chat.c | 8 | ||||
-rw-r--r-- | usr.sbin/pppd/main.c | 6 | ||||
-rw-r--r-- | usr.sbin/pppd/pppd.h | 6 |
3 files changed, 10 insertions, 10 deletions
diff --git a/usr.sbin/pppd/chat/chat.c b/usr.sbin/pppd/chat/chat.c index 5b2fc7206b2..16511190ea7 100644 --- a/usr.sbin/pppd/chat/chat.c +++ b/usr.sbin/pppd/chat/chat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: chat.c,v 1.20 2003/04/04 22:38:49 avsm Exp $ */ +/* $OpenBSD: chat.c,v 1.21 2003/04/25 23:23:50 deraadt Exp $ */ /* * Chat -- a program for automatic session establishment (i.e. dial @@ -83,7 +83,7 @@ #if 0 static char rcsid[] = "Id: chat.c,v 1.19 1998/03/24 23:57:48 paulus Exp $"; #else -static char rcsid[] = "$OpenBSD: chat.c,v 1.20 2003/04/04 22:38:49 avsm Exp $"; +static char rcsid[] = "$OpenBSD: chat.c,v 1.21 2003/04/25 23:23:50 deraadt Exp $"; #endif #endif @@ -209,7 +209,7 @@ void break_sequence(void); void terminate(int status); void pack_array(char **array, int end); char *expect_strtok(char *, char *); -int vfmtmsg(char *, int, const char *, va_list); /* vsprintf++ */ +int vfmtmsg(char *, int, const char *, va_list); /* vsnprintf++ */ int main(int, char *[]); @@ -1492,7 +1492,7 @@ pack_array (array, end) } /* - * vfmtmsg - format a message into a buffer. Like vsprintf except we + * vfmtmsg - format a message into a buffer. Like vsnprintf except we * also specify the length of the output buffer, and we handle the * %m (error message) format. * Doesn't do floating-point formats. diff --git a/usr.sbin/pppd/main.c b/usr.sbin/pppd/main.c index 441ecbac03e..a9ea5aa8221 100644 --- a/usr.sbin/pppd/main.c +++ b/usr.sbin/pppd/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.41 2003/04/14 03:14:59 deraadt Exp $ */ +/* $OpenBSD: main.c,v 1.42 2003/04/25 23:24:04 deraadt Exp $ */ /* * main.c - Point-to-Point Protocol main module @@ -46,7 +46,7 @@ #if 0 static char rcsid[] = "Id: main.c,v 1.49 1998/05/05 05:24:17 paulus Exp $"; #else -static char rcsid[] = "$OpenBSD: main.c,v 1.41 2003/04/14 03:14:59 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: main.c,v 1.42 2003/04/25 23:24:04 deraadt Exp $"; #endif #endif @@ -1396,7 +1396,7 @@ novm(msg) } /* - * fmtmsg - format a message into a buffer. Like sprintf except we + * fmtmsg - format a message into a buffer. Like snprintf except we * also specify the length of the output buffer, and we handle * %r (recursive format), %m (error message) and %I (IP address) formats. * Doesn't do floating-point formats. diff --git a/usr.sbin/pppd/pppd.h b/usr.sbin/pppd/pppd.h index 144391d465e..e9af0910cd1 100644 --- a/usr.sbin/pppd/pppd.h +++ b/usr.sbin/pppd/pppd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pppd.h,v 1.14 2002/07/01 19:31:37 deraadt Exp $ */ +/* $OpenBSD: pppd.h,v 1.15 2003/04/25 23:24:32 deraadt Exp $ */ /* * pppd.h - PPP daemon global declarations. @@ -209,8 +209,8 @@ void log_packet(u_char *, int, char *, int); /* Format a packet and log it with syslog */ void print_string(char *, int, void (*) (void *, char *, ...), void *); /* Format a string for output */ -int fmtmsg(char *, int, char *, ...); /* sprintf++ */ -int vfmtmsg(char *, int, char *, va_list); /* vsprintf++ */ +int fmtmsg(char *, int, char *, ...); /* snprintf++ */ +int vfmtmsg(char *, int, char *, va_list); /* vsnprintf++ */ void script_setenv(char *, char *); /* set script env var */ void script_unsetenv(char *); /* unset script env var */ |