Fix printf format bug.

This commit is contained in:
Guus Sliepen 2001-07-01 09:21:01 +00:00
parent 33d6de0cd5
commit 6365d0627b
2 changed files with 11 additions and 11 deletions

View file

@ -5,7 +5,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: tinc 1.0-cvs\n" "Project-Id-Version: tinc 1.0-cvs\n"
"POT-Creation-Date: 2001-06-29 15:38+0200\n" "POT-Creation-Date: 2001-07-01 11:19+0200\n"
"PO-Revision-Date: 2001-06-05 17:54+0200\n" "PO-Revision-Date: 2001-06-05 17:54+0200\n"
"Last-Translator: Guus Sliepen <guus@sliepen.warande.net>\n" "Last-Translator: Guus Sliepen <guus@sliepen.warande.net>\n"
"Language-Team: Dutch <vertaling@nl.linux.org>\n" "Language-Team: Dutch <vertaling@nl.linux.org>\n"
@ -538,8 +538,8 @@ msgstr "%s (%s) staat al in onze verbindingslijst"
#: src/protocol.c:259 #: src/protocol.c:259
#, c-format #, c-format
msgid "%s is listening on %s:%s, which is already in use by %s!" msgid "%s is listening on %s:%hd, which is already in use by %s!"
msgstr "%s luistert op %s:%s, wat al in gebruik is door %s!" msgstr "%s luistert op %s:%hd, wat al in gebruik is door %s!"
#: src/protocol.c:289 #: src/protocol.c:289
#, c-format #, c-format
@ -1072,30 +1072,30 @@ msgstr "Kreeg onverwacht signaal %d (%s)"
msgid "Installing signal handler for signal %d (%s) failed: %m\n" msgid "Installing signal handler for signal %d (%s) failed: %m\n"
msgstr "Installeren van signaal afhandelaar voor signaal %d (%s) faalde: %m\n" msgstr "Installeren van signaal afhandelaar voor signaal %d (%s) faalde: %m\n"
#: src/route.c:67 #: src/route.c:68
#, c-format #, c-format
msgid "Learned new MAC address %hhx:%hhx:%hhx:%hhx:%hhx:%hhx" msgid "Learned new MAC address %hhx:%hhx:%hhx:%hhx:%hhx:%hhx"
msgstr "Nieuw MAC adres %hhx:%hhx:%hhx:%hhx:%hhx:%hhx geleerd" msgstr "Nieuw MAC adres %hhx:%hhx:%hhx:%hhx:%hhx:%hhx geleerd"
#: src/route.c:117 #: src/route.c:118
#, c-format #, c-format
msgid "Cannot route packet: unknown destination address %d.%d.%d.%d" msgid "Cannot route packet: unknown destination address %d.%d.%d.%d"
msgstr "Kan pakket niet routeren: onbekend doeladres %d.%d.%d.%d" msgstr "Kan pakket niet routeren: onbekend doeladres %d.%d.%d.%d"
#: src/route.c:132 #: src/route.c:133
msgid "Cannot route packet: IPv6 routing not yet implemented" msgid "Cannot route packet: IPv6 routing not yet implemented"
msgstr "Kan pakket niet routeren: IPv6 routering nog niet geïmplementeerd" msgstr "Kan pakket niet routeren: IPv6 routering nog niet geïmplementeerd"
#: src/route.c:166 #: src/route.c:167
msgid "Cannot route packet: received unknown type ARP request" msgid "Cannot route packet: received unknown type ARP request"
msgstr "Kan pakket niet routeren: ontvangst van onbekend type ARP verzoek" msgstr "Kan pakket niet routeren: ontvangst van onbekend type ARP verzoek"
#: src/route.c:180 #: src/route.c:181
#, c-format #, c-format
msgid "Cannot route packet: ARP request for unknown address %d.%d.%d.%d" msgid "Cannot route packet: ARP request for unknown address %d.%d.%d.%d"
msgstr "Kan pakket niet routeren: ARP verzoek voor onbekend adres %d.%d.%d.%d" msgstr "Kan pakket niet routeren: ARP verzoek voor onbekend adres %d.%d.%d.%d"
#: src/route.c:232 #: src/route.c:233
#, c-format #, c-format
msgid "Cannot route packet: unknown type %hx" msgid "Cannot route packet: unknown type %hx"
msgstr "Kan pakket niet routeren: onbekend type %hx" msgstr "Kan pakket niet routeren: onbekend type %hx"

View file

@ -17,7 +17,7 @@
along with this program; if not, write to the Free Software along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
$Id: protocol.c,v 1.28.4.95 2001/06/29 13:09:32 guus Exp $ $Id: protocol.c,v 1.28.4.96 2001/07/01 09:21:01 guus Exp $
*/ */
#include "config.h" #include "config.h"
@ -256,7 +256,7 @@ cp
if(!avl_insert_node(connection_tree, node)) if(!avl_insert_node(connection_tree, node))
{ {
old = avl_search_node(connection_tree, node)->data; old = avl_search_node(connection_tree, node)->data;
syslog(LOG_ERR, _("%s is listening on %s:%s, which is already in use by %s!"), syslog(LOG_ERR, _("%s is listening on %s:%hd, which is already in use by %s!"),
cl->name, cl->hostname, cl->port, old->name); cl->name, cl->hostname, cl->port, old->name);
return -1; return -1;
} }