summaryrefslogtreecommitdiff
path: root/mythfs/service/recordingsVolume.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mythfs/service/recordingsVolume.cpp')
-rw-r--r--mythfs/service/recordingsVolume.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/mythfs/service/recordingsVolume.cpp b/mythfs/service/recordingsVolume.cpp
index c4ddbc2..f8ba489 100644
--- a/mythfs/service/recordingsVolume.cpp
+++ b/mythfs/service/recordingsVolume.cpp
@@ -8,7 +8,6 @@
#include "inodes/groupingByDateDirectory.h"
#include "openDirectory.h"
#include <sys/statvfs.h>
-#include <typeConvert.h>
namespace MythFS {
RecordingsVolume::RecordingsVolume(DBPrx db)
@@ -61,9 +60,7 @@ namespace MythFS {
if (::statvfs(p.c_str(), &s) != 0) {
throw NetFS::SystemError(errno);
}
- NetFS::VFS t;
- t << s;
- return t;
+ return converter.convert(s);
}
Ice::Int RecordingsVolume::access(const NetFS::ReqEnv &, const std::string &, Ice::Int, const Ice::Current&)