projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dhtlog updates
[oweals/gnunet.git]
/
src
/
util
/
disk.c
diff --git
a/src/util/disk.c
b/src/util/disk.c
index ef1f9ad4bb29beadb2a44ae6577e2ada82e61256..88f11be51993a8413926b7cfb320a7c3478c243c 100644
(file)
--- a/
src/util/disk.c
+++ b/
src/util/disk.c
@@
-267,7
+267,7
@@
GNUNET_DISK_file_get_identifiers (const char *filename,
if ( (0 == stat (filename, &sbuf)) &&
(0 == statfs (filename, &fbuf) ) )
{
- *dev = (
uint64_t) fbuf.f_fsid
;
+ *dev = (
(uint64_t) fbuf.f_fsid.val[0]) << 32 || ((uint64_t) fbuf.f_fsid.val[1])
;
*ino = (uint64_t) sbuf.st_ino;
return GNUNET_OK;
}