mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-23 10:05:08 +00:00
Dont end with dot or newline when using warn()
This commit is contained in:
parent
a22721f395
commit
5051822b58
4
tun.c
4
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;
|
||||
|
Loading…
Reference in New Issue
Block a user