From: Miklos Szeredi Date: Mon, 8 Nov 2010 18:43:41 +0000 (+0100) Subject: Add ctx->pid to debug output X-Git-Tag: fuse_2_9_0~93 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=06f6f0b313ef389bf2271fa2950a4460227b96a7;p=qemu-gpiodev%2Flibfuse.git Add ctx->pid to debug output --- diff --git a/ChangeLog b/ChangeLog index 9d669de..a498dae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -29,6 +29,8 @@ * Remove unnecessary restoring of current working directory in "fusermount -u" + * Add ctx->pid to debug output + 2010-10-14 Miklos Szeredi * Use LTLIBICONV when linking libfuse. This fixes building against diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c index c84a9d3..f30156f 100644 --- a/lib/fuse_lowlevel.c +++ b/lib/fuse_lowlevel.c @@ -1984,10 +1984,10 @@ static void fuse_ll_process_buf(void *data, const struct fuse_buf *buf, if (f->debug) fprintf(stderr, - "unique: %llu, opcode: %s (%i), nodeid: %lu, insize: %zu\n", + "unique: %llu, opcode: %s (%i), nodeid: %lu, insize: %zu, pid: %u\n", (unsigned long long) in->unique, opname((enum fuse_opcode) in->opcode), in->opcode, - (unsigned long) in->nodeid, buf->size); + (unsigned long) in->nodeid, buf->size, in->pid); err = EIO;