aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/inet
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2006-12-15 20:59:55 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2006-12-15 20:59:55 +0000
commit2cd19db26a49002206f71dfa91a0278aa7b43977 (patch)
tree2cc733581f24f5c52484da3c954755891790e893 /lib/libc/inet
parent994f330564b320ffd5a83cf60858a95958a5b634 (diff)
downloadsrc-2cd19db26a49002206f71dfa91a0278aa7b43977.tar.gz
src-2cd19db26a49002206f71dfa91a0278aa7b43977.zip
Merge BIND9 9.3.3 into main chunk.
Obtained from: ISC MFC after: 1 week
Notes
Notes: svn path=/head/; revision=165258
Diffstat (limited to 'lib/libc/inet')
-rw-r--r--lib/libc/inet/inet_net_ntop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/inet/inet_net_ntop.c b/lib/libc/inet/inet_net_ntop.c
index e221d21b7352..1c95df58538c 100644
--- a/lib/libc/inet/inet_net_ntop.c
+++ b/lib/libc/inet/inet_net_ntop.c
@@ -16,7 +16,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static const char rcsid[] = "$Id: inet_net_ntop.c,v 1.1.2.1.8.1 2004/03/09 08:33:32 marka Exp $";
+static const char rcsid[] = "$Id: inet_net_ntop.c,v 1.1.2.1.8.2 2006/06/20 02:53:07 marka Exp $";
#endif
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
@@ -266,7 +266,7 @@ inet_net_ntop_ipv6(const u_char *src, int bits, char *dst, size_t size) {
}
}
/* Format CIDR /width. */
- SPRINTF((cp, "/%u", bits));
+ sprintf(cp, "/%u", bits);
if (strlen(outbuf) + 1 > size)
goto emsgsize;
strcpy(dst, outbuf);