aboutsummaryrefslogtreecommitdiff
path: root/contrib/bind9/lib/bind/inet/inet_net_ntop.c
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2006-12-10 07:09:56 +0000
committerDoug Barton <dougb@FreeBSD.org>2006-12-10 07:09:56 +0000
commit06c3b27cdf3a145f77e50d8ca788690b929e8757 (patch)
treec73f828c2a083130f1c6feb338b9eed8a9b4af4b /contrib/bind9/lib/bind/inet/inet_net_ntop.c
parentf195a1221fb14443b3a83f46eeb748e17a7f5cb6 (diff)
parente99fbbb680307fe016c8db7d6611f1a3249761fb (diff)
downloadsrc-06c3b27cdf3a145f77e50d8ca788690b929e8757.tar.gz
src-06c3b27cdf3a145f77e50d8ca788690b929e8757.zip
This commit was generated by cvs2svn to compensate for changes in r165071,
which included commits to RCS files with non-trunk default branches.
Notes
Notes: svn path=/head/; revision=165072
Diffstat (limited to 'contrib/bind9/lib/bind/inet/inet_net_ntop.c')
-rw-r--r--contrib/bind9/lib/bind/inet/inet_net_ntop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/bind9/lib/bind/inet/inet_net_ntop.c b/contrib/bind9/lib/bind/inet/inet_net_ntop.c
index f508629d617a..47af6284ede3 100644
--- a/contrib/bind9/lib/bind/inet/inet_net_ntop.c
+++ b/contrib/bind9/lib/bind/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 "port_before.h"
@@ -264,7 +264,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);