From 3a7d53e8bd1bb4ed2af221b823f25f58e4dffbf1 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Mon, 4 Nov 2002 20:15:38 +0000 Subject: [PATCH] vputvnode-print-error-number-on-write-failure-20021104 make log message include error when taking volume offline --- src/vol/vnode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vol/vnode.c b/src/vol/vnode.c index 3d1da2c21f..d385631ce8 100644 --- a/src/vol/vnode.c +++ b/src/vol/vnode.c @@ -746,9 +746,9 @@ VPutVnode_r(ec,vnp) PrintInode(NULL, vp->vnodeIndex[class].handle->ih_ino)); *ec = VIO; } else { - Log("VPutVnode: Couldn't write vnode %d, volume %u (%s)\n", + Log("VPutVnode: Couldn't write vnode %d, volume %u (%s) (error %d)\n", vnp->vnodeNumber, V_id(vnp->volumePtr), - V_name(vnp->volumePtr)); + V_name(vnp->volumePtr), code); VForceOffline_r(vp); *ec = VSALVAGE; }