diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-05-09 20:49:07 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-05-09 20:49:07 +0000 |
commit | 6698465f7b905c17155ef821f3b9929f60dba74f (patch) | |
tree | 9ce8af00690ae3351d8f4914ba9cb49fd2b3f84c /libtrivfs | |
parent | 82630eb078bff4fd8264b08ce16dbfa429e0c7da (diff) |
(trivfs_S_file_statfs): Use new struct statfs format.
Diffstat (limited to 'libtrivfs')
-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; } |