From a90b20cfb6fa5332dd8a4335b16a171feaf5a3a1 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 15 Feb 2002 03:52:22 +0000 Subject: Minor fixes for 5.9.8. svn path=/trunk/; revision=3578 --- interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'interface.c') diff --git a/interface.c b/interface.c index 723d5e3a..29d4c107 100644 --- a/interface.c +++ b/interface.c @@ -269,7 +269,7 @@ get_ifinfo(const char *ifname, ifinfo_t *ifinfo) kvm_read(kvmfd, ifnet_addr, &ifnet, sizeof(ifnet)); kvm_read(kvmfd, (unsigned long) ifnet.if_name, tname, sizeof tname); #ifdef HAVE_SNPRINTF - snprintf(tname, sizeof tname - 1, + snprintf(tname, sizeof tname, #else sprintf(tname, #endif -- cgit v1.2.3