diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2006-02-24 16:21:58 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2006-02-24 16:21:58 +0000 |
commit | a039f8fa00c1aea3291a16253f94aaa98389fdbd (patch) | |
tree | 0ce01a4a785ed2218b56215dd267369e2e6f7ef1 /lib | |
parent | 6bab4809f38fcd67330d1383657e84bdd33ab43c (diff) | |
download | libfuse-a039f8fa00c1aea3291a16253f94aaa98389fdbd.tar.gz |
fix
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fuse.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1232,8 +1232,9 @@ static void fuse_read(fuse_req_t req, fuse_ino_t ino, size_t size, off_t off, path = get_path(f, ino); if (path != NULL) { if (f->conf.debug) { - printf("READ[%llu] %u bytes from %llu\n", - (unsigned long long) fi->fh, size, off); + printf("READ[%llu] %lu bytes from %llu\n", + (unsigned long long) fi->fh, (unsigned long) size, + (unsigned long long) off); fflush(stdout); } @@ -1271,9 +1272,9 @@ static void fuse_write(fuse_req_t req, fuse_ino_t ino, const char *buf, path = get_path(f, ino); if (path != NULL) { if (f->conf.debug) { - printf("WRITE%s[%llu] %u bytes to %llu\n", + printf("WRITE%s[%llu] %lu bytes to %llu\n", fi->writepage ? "PAGE" : "", (unsigned long long) fi->fh, - size, off); + (unsigned long) size, (unsigned long long) off); fflush(stdout); } |