diff options
-rw-r--r-- | trans/fifo.c | 2 | ||||
-rw-r--r-- | trans/new-fifo.c | 2 | ||||
-rw-r--r-- | trans/null.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/trans/fifo.c b/trans/fifo.c index 6c06fad9..39043acd 100644 --- a/trans/fifo.c +++ b/trans/fifo.c @@ -324,7 +324,7 @@ trivfs_S_io_map (struct trivfs_protid *cred, memory_object_t *wrobj, mach_msg_type_name_t *wrtype) { - return EINVAL; + return EOPNOTSUPP; } /* ---------------------------------------------------------------- */ diff --git a/trans/new-fifo.c b/trans/new-fifo.c index 85b1c55e..5306deed 100644 --- a/trans/new-fifo.c +++ b/trans/new-fifo.c @@ -509,7 +509,7 @@ trivfs_S_io_map (struct trivfs_protid *cred, memory_object_t *wrobj, mach_msg_type_name_t *wrtype) { - return EINVAL; + return EOPNOTSUPP; } /* ---------------------------------------------------------------- */ diff --git a/trans/null.c b/trans/null.c index 03beafd1..9673a758 100644 --- a/trans/null.c +++ b/trans/null.c @@ -1,6 +1,6 @@ /* A translator for providing endless empty space and immediate eof. - Copyright (C) 1995,96,97,98,99,2001,02 Free Software Foundation, Inc. + Copyright (C) 1995,96,97,98,99,2001,02,03 Free Software Foundation, Inc. Written by Miles Bader <miles@gnu.org> This program is free software; you can redistribute it and/or @@ -130,7 +130,7 @@ trivfs_S_io_map (struct trivfs_protid *cred, memory_object_t *wrobj, mach_msg_type_name_t *wrtype) { - return EINVAL; /* XXX should work! */ + return EOPNOTSUPP; /* XXX should work! */ } /* Read data from an IO object. If offset if -1, read from the object |