Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
62470a3b
Commit
62470a3b
authored
Mar 11, 1999
by
Niels Möller
Browse files
* src/server_pty.c (tty_setctty): Fixed error message.
Rev: src/server_pty.c:1.7
parent
cfa73907
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server_pty.c
View file @
62470a3b
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment