diff options
author | Jennifer Averett <Jennifer.Averett@OARcorp.com> | 2004-11-22 22:18:49 +0000 |
---|---|---|
committer | Jennifer Averett <Jennifer.Averett@OARcorp.com> | 2004-11-22 22:18:49 +0000 |
commit | 8eaa3eaf8df7ff762a9a51c866af6d2016ba2566 (patch) | |
tree | 25e5ac576f6259c6763dc5e55c6324dfe6786855 /cpukit/libcsupport/src/ttyname_r.c | |
parent | 2004-11-22 Jennifer Averett <jennifer@OARcorp.com> (diff) | |
download | rtems-8eaa3eaf8df7ff762a9a51c866af6d2016ba2566.tar.bz2 |
2004-11-22 Joel Sherrill <joel@OARcorp.com>
* libcsupport/src/ttyname_r.c: Remove warning for using _fstat.
Diffstat (limited to '')
-rw-r--r-- | cpukit/libcsupport/src/ttyname_r.c | 2 |
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) |