summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport
diff options
context:
space:
mode:
authorJennifer Averett <Jennifer.Averett@OARcorp.com>2004-11-22 22:18:49 +0000
committerJennifer Averett <Jennifer.Averett@OARcorp.com>2004-11-22 22:18:49 +0000
commit8eaa3eaf8df7ff762a9a51c866af6d2016ba2566 (patch)
tree25e5ac576f6259c6763dc5e55c6324dfe6786855 /cpukit/libcsupport
parent2004-11-22 Jennifer Averett <jennifer@OARcorp.com> (diff)
downloadrtems-8eaa3eaf8df7ff762a9a51c866af6d2016ba2566.tar.bz2
2004-11-22 Joel Sherrill <joel@OARcorp.com>
* libcsupport/src/ttyname_r.c: Remove warning for using _fstat.
Diffstat (limited to 'cpukit/libcsupport')
-rw-r--r--cpukit/libcsupport/src/ttyname_r.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/ttyname_r.c b/cpukit/libcsupport/src/ttyname_r.c
index 18bbd6c184..e75149d4d2 100644
--- a/cpukit/libcsupport/src/ttyname_r.c
+++ b/cpukit/libcsupport/src/ttyname_r.c
@@ -80,7 +80,7 @@ int ttyname_r(
rtems_set_errno_and_return_minus_one(EBADF);
/* Must be a character device. */
- if (_fstat (fd, &sb) || !S_ISCHR (sb.st_mode))
+ if (fstat (fd, &sb) || !S_ISCHR (sb.st_mode))
rtems_set_errno_and_return_minus_one(EBADF);
if ((dp = opendir (_PATH_DEV)) == NULL)