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
c2947782
Commit
c2947782
authored
May 11, 1999
by
Niels Möller
Browse files
* src/server_pty.c: Added a better warning message if opening
/dev/ptmx failes. Rev: src/server_pty.c:1.12
parent
4d74090a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server_pty.c
View file @
c2947782
...
...
@@ -175,6 +175,8 @@ int pty_allocate(struct pty_info *pty,
struct
lsh_string
*
name
=
NULL
;
if
((
pty
->
master
=
open
(
"/dev/ptmx"
,
O_RDWR
|
O_NOCTTY
))
<
0
)
{
werror
(
"pty_allocate: Opening /dev/ptmx failed (errno = %i): %z
\n
"
,
errno
,
strerror
(
errno
));
return
0
;
}
...
...
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