diff options
author | Roland McGrath <roland@gnu.org> | 2002-06-11 21:40:14 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-06-11 21:40:14 +0000 |
commit | 60e745546a5ed1525f2c62fd8a8a5d2fc903a31c (patch) | |
tree | 240e734c0d81fd0b886c1607d5c362b54f14f5e1 /libtrivfs/io-identity.c | |
parent | fa98861ff9e03a4fcc737a37b6cbd2291982d92c (diff) |
2002-06-08 Roland McGrath <roland@frob.com>
* io-identity.c (trivfs_S_io_identity): Use ino_t for FILENO.
Diffstat (limited to 'libtrivfs/io-identity.c')
-rw-r--r-- | libtrivfs/io-identity.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libtrivfs/io-identity.c b/libtrivfs/io-identity.c index 1232dcb4..34939dd9 100644 --- a/libtrivfs/io-identity.c +++ b/libtrivfs/io-identity.c @@ -1,5 +1,5 @@ -/* Fetching identity port - Copyright (C) 1996 Free Software Foundation, Inc. +/* Fetching identity port + Copyright (C) 1996,2002 Free Software Foundation, Inc. Written by Michael I. Bushnell, p/BSG. This file is part of the GNU Hurd. @@ -29,14 +29,14 @@ trivfs_S_io_identity (struct trivfs_protid *cred, mach_msg_type_name_t *idport_type, mach_port_t *fsidport, mach_msg_type_name_t *fsidport_type, - int *fileno) + ino_t *fileno) { error_t err; struct stat st; - + if (!cred) return EOPNOTSUPP; - + err = io_stat (cred->realnode, &st); if (err) return err; |