OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3692b7b
)
Clearify error message
author
Eric Andersen
<andersen@codepoet.org>
Wed, 16 Jan 2002 17:25:53 +0000
(17:25 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Wed, 16 Jan 2002 17:25:53 +0000
(17:25 -0000)
libc/stdlib/ptsname.c
patch
|
blob
|
history
diff --git
a/libc/stdlib/ptsname.c
b/libc/stdlib/ptsname.c
index
ce4847f
..
659049a
100644
(file)
--- a/
libc/stdlib/ptsname.c
+++ b/
libc/stdlib/ptsname.c
@@
-81,7
+81,7
@@
int ptsname_r (int fd, char *buf, size_t buflen)
return ENOTTY;
}
#elif !defined TIOCGPTN
-# error "UNIX98PTY_ONLY
requested but TIOCGPTN is undefined
."
+# error "UNIX98PTY_ONLY
enabled but TIOCGPTN ioctl not supported by your kernel
."
#endif
#ifdef TIOCGPTN
if (ioctl (fd, TIOCGPTN, &ptyno) == 0)