summaryrefslogtreecommitdiff
path: root/trans/null.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-09-06 01:10:54 +0000
committerRoland McGrath <roland@gnu.org>2003-09-06 01:10:54 +0000
commit1b1d42cd03fb9a1591fe378df61ff3d92cac9fff (patch)
tree0ac2b3099f94fcdcd72e56846283ed971ca2f421 /trans/null.c
parent57dee4dc04604ac393d305ebec4c0f449b0fcdaa (diff)
2003-09-05 Greg Buchholz <greg@sleepingsquirrel.org>
* fifo.c, new-fifo.c, null.c (trivfs_S_io_map): Change return value to EOPNOTSUPP (was EINVAL).
Diffstat (limited to 'trans/null.c')
-rw-r--r--trans/null.c4
1 files changed, 2 insertions, 2 deletions
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