diff options
-rw-r--r-- | libtrivfs/file-statfs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libtrivfs/file-statfs.c b/libtrivfs/file-statfs.c index 9d3b6486..f14d9aaa 100644 --- a/libtrivfs/file-statfs.c +++ b/libtrivfs/file-statfs.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1994 Free Software Foundation + Copyright (C) 1994, 1996 Free Software Foundation This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -23,14 +23,14 @@ kern_return_t trivfs_S_file_statfs (struct trivfs_protid *cred, mach_port_t reply, mach_msg_type_name_t reply_type, - struct fsys_statfsbuf *stb) + struct statfs *stb) { if (!trivfs_fsid) trivfs_fsid = getpid(); bzero (stb, sizeof (struct fsys_statfsbuf)); - stb->fsys_stb_type = trivfs_fstype; - stb->fsys_stb_fsid = trivfs_fsid; + stb->f_type = trivfs_fstype; + stb->f_fsid = trivfs_fsid; return 0; } |