projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5552140
)
trying to port statvfs call to BSD
author
Christian Grothoff
<christian@grothoff.org>
Fri, 2 Jul 2010 08:32:49 +0000
(08:32 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Fri, 2 Jul 2010 08:32:49 +0000
(08:32 +0000)
src/util/disk.c
patch
|
blob
|
history
diff --git
a/src/util/disk.c
b/src/util/disk.c
index ef4e33cd29997141aca2aa097d90581b98c66ac8..ef1f9ad4bb29beadb2a44ae6577e2ada82e61256 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[0]) << 32 || ((uint64_t) fbuf.f_fsid[1])
;
+ *dev = (
uint64_t) fbuf.f_fsid
;
*ino = (uint64_t) sbuf.st_ino;
return GNUNET_OK;
}