summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libc/syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libc/syscalls.c')
-rw-r--r--c/src/lib/libc/syscalls.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/c/src/lib/libc/syscalls.c b/c/src/lib/libc/syscalls.c
index 00c58d9aec..1c17bfa184 100644
--- a/c/src/lib/libc/syscalls.c
+++ b/c/src/lib/libc/syscalls.c
@@ -42,6 +42,12 @@ int __rtems_fstat(int _fd, struct stat* _sbuf)
/*
* For now assume stdin/stdout/stderr are always a TTY line
+ *
+ * From Eric Norum:
+ *
+ * The `fix' is not complete. It still doesn't properly handle
+ * file descriptors for any files/devices other than the console
+ * serial lines.....
*/
if (_fd <= 2) {
_sbuf->st_mode = S_IFCHR;