Module Name: src
Committed By: manu
Date: Fri May 6 13:45:35 UTC 2011
Modified Files:
src/usr.sbin/perfused: msg.c
Log Message:
Display actual error from FUSE on failures
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/usr.sbin/perfused/msg.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/perfused/msg.c
diff -u src/usr.sbin/perfused/msg.c:1.10 src/usr.sbin/perfused/msg.c:1.11
--- src/usr.sbin/perfused/msg.c:1.10 Mon Apr 25 04:30:59 2011
+++ src/usr.sbin/perfused/msg.c Fri May 6 13:45:35 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: msg.c,v 1.10 2011/04/25 04:30:59 manu Exp $ */
+/* $NetBSD: msg.c,v 1.11 2011/05/06 13:45:35 manu Exp $ */
/*-
* Copyright (c) 2010 Emmanuel Dreyfus. All rights reserved.
@@ -314,7 +314,7 @@
DPRINTF("< unique = %"PRId64", nodeid = %"PRId64", "
"opcode = %s (%d), "
"error = %d\n", unique_out, nodeid,
- perfuse_opname(opcode), opcode, error);
+ perfuse_opname(opcode), opcode, foh->error);
if (perfuse_diagflags & PDF_DUMP)
perfuse_hexdump((char *)foh, foh->len);