From ffa48fb79d6544e4299c76df8f689f8962fab8fe Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Wed, 14 Jul 2004 06:24:50 +0000 Subject: added patch from Brad Fitzpatrick --- perl/Fuse.xs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'perl/Fuse.xs') diff --git a/perl/Fuse.xs b/perl/Fuse.xs index 0a460b9..fa75e5c 100644 --- a/perl/Fuse.xs +++ b/perl/Fuse.xs @@ -476,7 +476,7 @@ int _PLfuse_write (const char *file, const char *buf, size_t buflen, off_t off) return rv; } -int _PLfuse_statfs (struct fuse_statfs *st) { +int _PLfuse_statfs (struct statfs *st) { int rv; char *rvstr; dSP; @@ -488,12 +488,12 @@ int _PLfuse_statfs (struct fuse_statfs *st) { rv = call_sv(_PLfuse_callbacks[17],G_ARRAY); SPAGAIN; if(rv > 5) { - st->block_size = POPi; - st->blocks_free = POPi; - st->blocks = POPi; - st->files_free = POPi; - st->files = POPi; - st->namelen = POPi; + st->f_bsize = POPi; + st->f_bfree = POPi; + st->f_blocks = POPi; + st->f_ffree = POPi; + st->f_files = POPi; + st->f_namelen = POPi; if(rv > 6) rv = POPi; else -- cgit v1.2.3