diff options
Diffstat (limited to 'sysdeps/generic/ptsname.c')
-rw-r--r-- | sysdeps/generic/ptsname.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/ptsname.c b/sysdeps/generic/ptsname.c index 2f985c7..c16e056 100644 --- a/sysdeps/generic/ptsname.c +++ b/sysdeps/generic/ptsname.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1998 Free Software Foundation, Inc. +/* Copyright (C) 1998,2002 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Zack Weinberg <zack@rabi.phys.columbia.edu>, 1998. @@ -39,7 +39,7 @@ __ptsname_r (fd, buf, len) size_t len __attribute__ ((unused)); { __set_errno (ENOSYS); - return 0; + return ENOSYS; } weak_alias (__ptsname_r, ptsname_r) |