Dont end with dot or newline when using warn()

This commit is contained in:
Erik Ekman 2006-06-25 12:05:46 +00:00
parent a22721f395
commit 5051822b58

4
tun.c
View file

@ -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; return -1;
} }
@ -124,7 +124,7 @@ open_tun(const char *tun_device)
break; break;
} }
warn("open_tun: Failed to open tunneling device."); warn("open_tun: Failed to open tunneling device");
} }
return -1; return -1;