From ec10d266ba8bca9e0142cff75cb016038967f0d8 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 13 Sep 2017 09:07:14 +0200 Subject: libio: rtems_libio_check_permissions_with_error() Rename rtems_libio_check_permissions_with_error() in rtems_libio_check_permissions(). Update #3132. --- cpukit/libcsupport/src/ftruncate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/libcsupport/src/ftruncate.c') diff --git a/cpukit/libcsupport/src/ftruncate.c b/cpukit/libcsupport/src/ftruncate.c index 4a194066e5..64c2dc0045 100644 --- a/cpukit/libcsupport/src/ftruncate.c +++ b/cpukit/libcsupport/src/ftruncate.c @@ -32,7 +32,7 @@ int ftruncate( int fd, off_t length ) rtems_libio_check_fd( fd ); iop = rtems_libio_iop( fd ); rtems_libio_check_is_open( iop ); - rtems_libio_check_permissions_with_error( iop, LIBIO_FLAGS_WRITE, EINVAL ); + rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE, EINVAL ); rv = (*iop->pathinfo.handlers->ftruncate_h)( iop, length ); } else { -- cgit v1.2.3