summaryrefslogtreecommitdiffstats
path: root/src/server/fileutil.h
diff options
context:
space:
mode:
authorSimon Rettberg2014-06-16 19:24:17 +0200
committerSimon Rettberg2014-06-16 19:24:17 +0200
commit49f9218d330f5842fe24bce79267bd2c5b239df3 (patch)
tree74e7b49e9c058145069ac4e2aa6de5d9f2cac3ce /src/server/fileutil.h
parent[CLIENT] Debug argument handling in daemon mode (diff)
downloaddnbd3-49f9218d330f5842fe24bce79267bd2c5b239df3.tar.gz
dnbd3-49f9218d330f5842fe24bce79267bd2c5b239df3.tar.xz
dnbd3-49f9218d330f5842fe24bce79267bd2c5b239df3.zip
Improve uplink handling, add code to debug thread creation/destruction, change stupid convention of freeDiskSpace returning 0 on error, which is ambiguous to the disk simply being full...
Diffstat (limited to 'src/server/fileutil.h')
-rw-r--r--src/server/fileutil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/fileutil.h b/src/server/fileutil.h
index 394338b..db60699 100644
--- a/src/server/fileutil.h
+++ b/src/server/fileutil.h
@@ -8,7 +8,7 @@ int file_isReadable(char *file);
int file_isWritable(char *file);
int mkdir_p(const char* path);
int file_alloc(int fd, uint64_t offset, uint64_t size);
-uint64_t file_freeDiskSpace(const char * const path);
+int64_t file_freeDiskSpace(const char * const path);
time_t file_lastModification(const char * const file);
#endif /* FILEUTIL_H_ */