f->fh_ctr ++;
outarg.fh = f->fh_ctr;
if (f->flags & FUSE_DEBUG) {
- printf("OPEN[%u] flags: 0x%x\n", outarg.fh, arg->flags);
+ printf("OPEN[%lu] flags: 0x%x\n", outarg.fh, arg->flags);
fflush(stdout);
}
path = get_path(f, in->ino);
if (path != NULL) {
if (f->flags & FUSE_DEBUG) {
- printf("FLUSH[%u]\n", arg->fh);
+ printf("FLUSH[%lu]\n", arg->fh);
fflush(stdout);
}
res = -ENOSYS;
path = get_path(f, in->ino);
if (path != NULL) {
if (f->flags & FUSE_DEBUG) {
- printf("RELEASE[%u]\n", arg->fh);
+ printf("RELEASE[%lu]\n", arg->fh);
fflush(stdout);
}
if (f->op.release)
path = get_path(f, in->ino);
if (path != NULL) {
if (f->flags & FUSE_DEBUG) {
- printf("READ[%u] %u bytes from %llu\n", arg->fh, arg->size,
+ printf("READ[%lu] %u bytes from %llu\n", arg->fh, arg->size,
arg->offset);
fflush(stdout);
}
size = res;
res = 0;
if (f->flags & FUSE_DEBUG) {
- printf(" READ[%u] %u bytes\n", arg->fh, size);
+ printf(" READ[%lu] %u bytes\n", arg->fh, size);
fflush(stdout);
}
}
path = get_path(f, in->ino);
if (path != NULL) {
if (f->flags & FUSE_DEBUG) {
- printf("WRITE%s[%u] %u bytes to %llu\n",
+ printf("WRITE%s[%lu] %u bytes to %llu\n",
arg->writepage ? "PAGE" : "", arg->fh, arg->size,
arg->offset);
fflush(stdout);
path = get_path(f, in->ino);
if (path != NULL) {
if (f->flags & FUSE_DEBUG) {
- printf("FSYNC[%u]\n", inarg->fh);
+ printf("FSYNC[%lu]\n", inarg->fh);
fflush(stdout);
}
res = -ENOSYS;