Fix insufficient arguments in an error message.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
This commit is contained in:
Brian Chu
2014-06-02 17:21:40 +00:00
committed by Nikos Mavrogiannopoulos
parent 8c55420a12
commit 4001719560

View File

@@ -399,7 +399,7 @@ int open_tun(main_server_st * s, struct proc_st *proc)
ret = fstat(tunfd, &st);
if (ret < 0) {
e = errno;
mslog(s, NULL, LOG_ERR, "%s: stat: %s\n", strerror(e));
mslog(s, NULL, LOG_ERR, "tun fd %d: stat: %s\n", tunfd, strerror(e));
goto fail;
}