diff options
Diffstat (limited to 'api')
-rw-r--r-- | api/src/glfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/src/glfs.c b/api/src/glfs.c index e74329caf9d..12c4ea4aebb 100644 --- a/api/src/glfs.c +++ b/api/src/glfs.c @@ -872,13 +872,13 @@ pub_glfs_get_volfile (struct glfs *fs, void *buf, size_t len) glfs_lock(fs); if (len >= fs->oldvollen) { - gf_log ("glfs", GF_LOG_TRACE, "copying %lu to %p", len, buf); + gf_log ("glfs", GF_LOG_TRACE, "copying %zu to %p", len, buf); memcpy(buf,fs->oldvolfile,len); res = len; } else { res = len - fs->oldvollen; - gf_log ("glfs", GF_LOG_TRACE, "buffer is %ld too short", -res); + gf_log ("glfs", GF_LOG_TRACE, "buffer is %zd too short", -res); } glfs_unlock(fs); |