From ae36d86f4cd1172196b21e5775ff75b288b24d9a Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 16 Jan 2002 17:25:53 +0000 Subject: Clearify error message --- libc/stdlib/ptsname.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/stdlib') 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) -- cgit v1.2.3