From: Guus Sliepen Date: Thu, 31 Jul 2003 11:20:32 +0000 (+0000) Subject: Wrong argument. X-Git-Tag: import-tinc-1.1~785^2~126 X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=5c29d066688691dd1664597ba1c76195634f06c0;p=meshlink Wrong argument. --- diff --git a/src/solaris/device.c b/src/solaris/device.c index 6b657273..9b92f2e5 100644 --- a/src/solaris/device.c +++ b/src/solaris/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.16 2003/07/22 20:55:21 guus Exp $ + $Id: device.c,v 1.1.2.17 2003/07/31 11:20:32 guus Exp $ */ @@ -149,8 +149,8 @@ bool write_packet(vpn_packet_t *packet) packet->len, device_info); if(write(device_fd, packet->data + 14, packet->len - 14) < 0) { - logger(LOG_ERR, _("Can't write to %s %s: %s"), device_info, packet->len, - strerror(errno)); + logger(LOG_ERR, _("Can't write to %s %s: %s"), device_info, + device, strerror(errno)); return false; }