mirror of
https://github.com/yarrick/iodine.git
synced 2024-12-22 21:33:33 +02:00
Dont end with dot or newline when using warn()
This commit is contained in:
parent
a22721f395
commit
5051822b58
1 changed files with 2 additions and 2 deletions
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 a new issue