summaryrefslogtreecommitdiff
path: root/libc/stdlib/ptsname.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-01-16 17:25:53 +0000
committerEric Andersen <andersen@codepoet.org>2002-01-16 17:25:53 +0000
commitae36d86f4cd1172196b21e5775ff75b288b24d9a (patch)
tree6b1dc4ae7508eaa00b9aee41fac1e6a750e8cc5f /libc/stdlib/ptsname.c
parent3692b7b32e6efc810703012e6e1292c103eb7d29 (diff)
Clearify error message
Diffstat (limited to 'libc/stdlib/ptsname.c')
-rw-r--r--libc/stdlib/ptsname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdlib/ptsname.c b/libc/stdlib/ptsname.c
index ce4847f35..659049a4c 100644
--- 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)