aboutsummaryrefslogtreecommitdiffstats
path: root/interface.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2002-02-15 03:52:22 +0000
committerEric S. Raymond <esr@thyrsus.com>2002-02-15 03:52:22 +0000
commita90b20cfb6fa5332dd8a4335b16a171feaf5a3a1 (patch)
treed6cb1a8bafd9b0ad735f27ada22a5c884be64cb5 /interface.c
parent0b3901aacf0dfb18d83570878919dbdbb7956709 (diff)
downloadfetchmail-a90b20cfb6fa5332dd8a4335b16a171feaf5a3a1.tar.gz
fetchmail-a90b20cfb6fa5332dd8a4335b16a171feaf5a3a1.tar.bz2
fetchmail-a90b20cfb6fa5332dd8a4335b16a171feaf5a3a1.zip
Minor fixes for 5.9.8.
svn path=/trunk/; revision=3578
Diffstat (limited to 'interface.c')
-rw-r--r--interface.c2
1 files changed, 1 insertions, 1 deletions
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