summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Loder <cloder@cvs.openbsd.org>2005-06-01 02:05:56 +0000
committerChad Loder <cloder@cvs.openbsd.org>2005-06-01 02:05:56 +0000
commitd11ad8b358dfec528602b991f8f236f8bb63b6a6 (patch)
treee2918981c1174f374984d8c5b145fe7d70012d84
parent1f2d6fb85afc364ae37699abb6ebf3b3639ca5a8 (diff)
snprintf returns an int, not a size_t. OK deraadt@
-rw-r--r--sbin/dhclient/errwarn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dhclient/errwarn.c b/sbin/dhclient/errwarn.c
index fccd1dcff12..1be0067d97a 100644
--- a/sbin/dhclient/errwarn.c
+++ b/sbin/dhclient/errwarn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: errwarn.c,v 1.10 2005/04/11 20:04:43 deraadt Exp $ */
+/* $OpenBSD: errwarn.c,v 1.11 2005/06/01 02:05:55 cloder Exp $ */
/* Errors and warnings... */
@@ -173,7 +173,7 @@ do_percentm(char *obuf, size_t size, char *ibuf)
char ch;
char *s = ibuf;
char *t = obuf;
- size_t prlen;
+ int prlen;
size_t fmt_left;
int saved_errno = errno;