From: Guus Sliepen Date: Wed, 27 Mar 2002 16:00:38 +0000 (+0000) Subject: Fix format strings. X-Git-Tag: release-1.0pre6~2 X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=commitdiff_plain;h=0fe3dc38ed0527a5cfda9218114c8ee10422086b Fix format strings. --- diff --git a/src/openbsd/device.c b/src/openbsd/device.c index bd061358..3d7099f2 100644 --- a/src/openbsd/device.c +++ b/src/openbsd/device.c @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: device.c,v 1.1.2.7 2002/03/24 17:08:38 guus Exp $ + $Id: device.c,v 1.1.2.8 2002/03/27 16:00:38 guus Exp $ */ #include "config.h" @@ -127,7 +127,7 @@ cp break; default: if(debug_lvl >= DEBUG_TRAFFIC) - syslog(LOG_ERR, _("Unknown address family %s while reading packet from %s %s"), ntohl(type), device_info, device); + syslog(LOG_ERR, _("Unknown address family %d while reading packet from %s %s"), ntohl(type), device_info, device); return -1; } @@ -166,7 +166,7 @@ cp break; default: if(debug_lvl >= DEBUG_TRAFFIC) - syslog(LOG_ERR, _("Unknown address family %s while writing packet to %s %s"), af, device_info, device); + syslog(LOG_ERR, _("Unknown address family %d while writing packet to %s %s"), af, device_info, device); return -1; }