Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
DVR: another fix for filesystemId type
  • Loading branch information
perexg committed Dec 11, 2015
1 parent 92d9bf1 commit 6e42b6c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/dvr/dvr_vfsmgr.c
Expand Up @@ -34,8 +34,10 @@
#include <sys/vfs.h>
#define statvfs statfs
#define fstatvfs fstatfs
#define tvh_fsid_t fsid_t
#else
#include <sys/statvfs.h>
#define tvh_fsid_t unsigned long
#endif

#define MIB(v) ((int64_t)v*((int64_t)1024*1024))
Expand All @@ -61,7 +63,7 @@ dvr_disk_space_cleanup(dvr_config_t *cfg)
time_t stoptime;
int64_t requiredBytes, maximalBytes, availBytes, usedBytes, diskBytes;
int64_t clearedBytes = 0, fileSize;
uint64_t filesystemId;
tvh_fsid_t filesystemId;
struct statvfs diskdata;
struct tm tm;
int loops = 0;
Expand Down

0 comments on commit 6e42b6c

Please sign in to comment.