diff options
Diffstat (limited to 'libtrivfs/io-duplicate.c')
-rw-r--r-- | libtrivfs/io-duplicate.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/libtrivfs/io-duplicate.c b/libtrivfs/io-duplicate.c index 4b20bb99..c1b7798d 100644 --- a/libtrivfs/io-duplicate.c +++ b/libtrivfs/io-duplicate.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1993, 1994, 1995 Free Software Foundation + Copyright (C) 1993,94,95,2002 Free Software Foundation, Inc. This file is part of the GNU Hurd. @@ -8,7 +8,7 @@ it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. -The GNU Hurd is distributed in the hope that it will be useful, +The GNU Hurd is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. @@ -20,7 +20,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Written by Michael I. Bushnell. */ #include "priv.h" -#include "io_S.h" #include <string.h> kern_return_t @@ -32,10 +31,10 @@ trivfs_S_io_duplicate (struct trivfs_protid *cred, { error_t err; struct trivfs_protid *newcred; - + if (!cred) return EOPNOTSUPP; - + err = trivfs_protid_dup (cred, &newcred); if (!err) { @@ -46,4 +45,3 @@ trivfs_S_io_duplicate (struct trivfs_protid *cred, return err; } - |