From 5051822b586af7b216aabf57bfea4f3e89e1bf6f Mon Sep 17 00:00:00 2001 From: Erik Ekman Date: Sun, 25 Jun 2006 12:05:46 +0000 Subject: [PATCH] Dont end with dot or newline when using warn() --- tun.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tun.c b/tun.c index bc9d69a..d22f950 100644 --- a/tun.c +++ b/tun.c @@ -85,7 +85,7 @@ open_tun(const char *tun_device) } } - warn("open_tun: Couldn't set interface name.\n"); + warn("open_tun: Couldn't set interface name"); } return -1; } @@ -124,7 +124,7 @@ open_tun(const char *tun_device) break; } - warn("open_tun: Failed to open tunneling device."); + warn("open_tun: Failed to open tunneling device"); } return -1;