From 6698465f7b905c17155ef821f3b9929f60dba74f Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 9 May 1996 20:49:07 +0000 Subject: (trivfs_S_file_statfs): Use new struct statfs format. --- libtrivfs/file-statfs.c | 8 ++++---- 1 file 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; } -- cgit v1.2.3