From 8eaa3eaf8df7ff762a9a51c866af6d2016ba2566 Mon Sep 17 00:00:00 2001 From: Jennifer Averett Date: Mon, 22 Nov 2004 22:18:49 +0000 Subject: 2004-11-22 Joel Sherrill * libcsupport/src/ttyname_r.c: Remove warning for using _fstat. --- cpukit/libcsupport/src/ttyname_r.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/libcsupport') 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) -- cgit v1.2.3