Commit 62470a3b authored by Niels Möller's avatar Niels Möller
Browse files

* src/server_pty.c (tty_setctty): Fixed error message.

Rev: src/server_pty.c:1.7
parent cfa73907
......@@ -210,8 +210,9 @@ int tty_setctty(struct pty_info *pty)
fd = open(pty->tty_name->data, O_RDWR);
if (fd < 0)
{
werror("tty_setctty: unlockpt() failed,\n"
" (errno = %i): %z\n", errno, strerror(errno));
werror("tty_setctty: open(\"%z\") failed,\n"
" (errno = %i): %z\n",
pty->tty_name->data, errno, strerror(errno));
return 0;
}
close(fd);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment