Orangefs: fix gossip statement
authorMike Marshall <hubcap@omnibond.com>
Fri, 13 Nov 2015 19:39:15 +0000 (14:39 -0500)
committerMike Marshall <hubcap@omnibond.com>
Fri, 13 Nov 2015 19:39:15 +0000 (14:39 -0500)
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
fs/orangefs/devpvfs2-req.c

index 7a719900235f830d5efe96f4416528a85e6b0df0..dbf52ab1e5690a509d9df95ffc3a2d95d182d228 100644 (file)
@@ -356,7 +356,7 @@ static ssize_t pvfs2_devreq_writev(struct file *file,
                        size_t size;
                        gossip_debug(GOSSIP_DEV_DEBUG,
                                     "writev: trailer size %ld\n",
-                                    (unsigned long)size);
+                                    (unsigned long)trailer_size);
                        if (count != (notrailer_count + 1)) {
                                gossip_err("Error: trailer size (%ld) is non-zero, no trailer elements though? (%zu)\n", (unsigned long)trailer_size, count);
                                dev_req_release(buffer);