diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2014-01-20 02:54:08 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2014-01-20 02:54:08 +0000 |
commit | 9ea733e260a39f5592314c57656098ee2aef8063 (patch) | |
tree | 2e1590db12bae0c8eeb1cb85f7d109b77e165da5 /sbin/dhclient/kroute.c | |
parent | f66142cb16a683322a9ea00739b9e08618732df8 (diff) |
%d cleanups, to other formats; ok krw
Diffstat (limited to 'sbin/dhclient/kroute.c')
-rw-r--r-- | sbin/dhclient/kroute.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/dhclient/kroute.c b/sbin/dhclient/kroute.c index fabad61c904..1d89c71cf54 100644 --- a/sbin/dhclient/kroute.c +++ b/sbin/dhclient/kroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kroute.c,v 1.59 2013/12/08 22:49:02 krw Exp $ */ +/* $OpenBSD: kroute.c,v 1.60 2014/01/20 02:54:07 deraadt Exp $ */ /* * Copyright 2012 Kenneth R Westerback <krw@openbsd.org> @@ -679,7 +679,7 @@ void delete_route(int s, int rdomain, struct rt_msghdr *rtm) { static int seqno; - int rlen; + ssize_t rlen; rtm->rtm_type = RTM_DELETE; rtm->rtm_tableid = rdomain; @@ -690,5 +690,5 @@ delete_route(int s, int rdomain, struct rt_msghdr *rtm) if (errno != ESRCH) error("RTM_DELETE write: %s", strerror(errno)); } else if (rlen < (int)rtm->rtm_msglen) - error("short RTM_DELETE write (%d)\n", rlen); + error("short RTM_DELETE write (%zd)\n", rlen); } |