summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Waldmann <tw@waldmann-edv.de>2015-02-27 17:28:45 +0100
committerLars Wirzenius <liw@liw.fi>2015-03-22 14:07:22 +0200
commit38db25eaaed4e8881c7cd8cb1dfaf73dbc843a1a (patch)
tree5cd313fb50067cf2490e72b4f648c269d64b8f27
parente2b799b42dccce6eae1146294e79db1b32f09d62 (diff)
downloadobnam-38db25eaaed4e8881c7cd8cb1dfaf73dbc843a1a.tar.gz
fuse_plugin: fix undefined "blocks"
-rw-r--r--obnamlib/plugins/fuse_plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/obnamlib/plugins/fuse_plugin.py b/obnamlib/plugins/fuse_plugin.py
index 691fb90d..9f152e15 100644
--- a/obnamlib/plugins/fuse_plugin.py
+++ b/obnamlib/plugins/fuse_plugin.py
@@ -418,7 +418,7 @@ class ObnamFuse(fuse.Fuse):
stv = fuse.StatVfs()
stv.f_bsize = 65536
stv.f_frsize = 0
- stv.f_blocks = blocks/65536
+ stv.f_blocks = total_data / 65536
stv.f_bfree = 0
stv.f_bavail = 0
stv.f_files = files