diff options
Diffstat (limited to 'bin/cat')
-rw-r--r-- | bin/cat/cat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/cat/cat.c b/bin/cat/cat.c index ffc9f39..8c433f1 100644 --- a/bin/cat/cat.c +++ b/bin/cat/cat.c @@ -298,11 +298,11 @@ udom_open(const char *path, int flags) switch(flags & O_ACCMODE) { case O_RDONLY: if (shutdown(fd, SHUT_WR) == -1) - perror("cat"); + warn(NULL); break; case O_WRONLY: if (shutdown(fd, SHUT_RD) == -1) - perror("cat"); + warn(NULL); break; default: break; |