From ba120d1aaa7695cb73c824c93c34a6d0949bce27 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 31 Oct 2013 14:17:57 +0100 Subject: Filesystem: Use ENOTTY for default ioctl() handler This is in line with Linux and FreeBSD. --- cpukit/libcsupport/include/rtems/libio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/libcsupport/include') diff --git a/cpukit/libcsupport/include/rtems/libio.h b/cpukit/libcsupport/include/rtems/libio.h index 903991bc71..aa64ff35c4 100644 --- a/cpukit/libcsupport/include/rtems/libio.h +++ b/cpukit/libcsupport/include/rtems/libio.h @@ -1009,7 +1009,7 @@ ssize_t rtems_filesystem_default_write( ); /** - * @retval -1 Always. The errno is set to ENOTSUP. + * @retval -1 Always. The errno is set to ENOTTY. * * @see rtems_filesystem_ioctl_t. */ -- cgit v1.2.3