diff options
Diffstat (limited to 'c/src/lib/libc/syscalls.c')
-rw-r--r-- | c/src/lib/libc/syscalls.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/c/src/lib/libc/syscalls.c b/c/src/lib/libc/syscalls.c index 1128d09f53..af17dd1375 100644 --- a/c/src/lib/libc/syscalls.c +++ b/c/src/lib/libc/syscalls.c @@ -50,8 +50,7 @@ int __isatty(int _fd) int stat( const char *path, struct stat *buf ) { if ( strncmp( "/dev/", path, 5 ) ) { - puts( "stat -- non-devices not supported" ); - assert( 0 ); + return -1; } return __fstat( 0, buf ); } |