From 1b1d42cd03fb9a1591fe378df61ff3d92cac9fff Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 6 Sep 2003 01:10:54 +0000 Subject: 2003-09-05 Greg Buchholz * fifo.c, new-fifo.c, null.c (trivfs_S_io_map): Change return value to EOPNOTSUPP (was EINVAL). --- trans/null.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'trans/null.c') 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 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 -- cgit v1.2.3