diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2004-07-14 06:24:50 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2004-07-14 06:24:50 +0000 |
commit | ffa48fb79d6544e4299c76df8f689f8962fab8fe (patch) | |
tree | 4432571bb4a48f8fb1671a1139d97af0ec9e2d25 /perl/Fuse.xs | |
parent | ad83d07f62a79e7725d31b41d3f0316526a83634 (diff) | |
download | libfuse-ffa48fb79d6544e4299c76df8f689f8962fab8fe.tar.gz |
added patch from Brad Fitzpatrick
Diffstat (limited to 'perl/Fuse.xs')
-rw-r--r-- | perl/Fuse.xs | 14 |
1 files changed, 7 insertions, 7 deletions
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 |