Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/perfused Display actual error from FUSE on failures



details:   https://anonhg.NetBSD.org/src/rev/cec60e6f92ab
branches:  trunk
changeset: 764820:cec60e6f92ab
user:      manu <manu%NetBSD.org@localhost>
date:      Fri May 06 13:45:35 2011 +0000

description:
Display actual error from FUSE on failures

diffstat:

 usr.sbin/perfused/msg.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 51f13d4df0b8 -r cec60e6f92ab usr.sbin/perfused/msg.c
--- a/usr.sbin/perfused/msg.c   Fri May 06 12:52:43 2011 +0000
+++ b/usr.sbin/perfused/msg.c   Fri May 06 13:45:35 2011 +0000
@@ -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);



Home | Main Index | Thread Index | Old Index