From 801a43b41dffd8f692748f5fba0ce8740abf2eca Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Wed, 6 Jun 2007 18:57:43 +0000 Subject: [PATCH] STABLE14-vsprocs-avoid-bogus-error-20070606 don't EPRINT if it's not an error (cherry picked from commit fcfdcc3cc1c272966574103f7e8bd495c7fcbb84) --- src/volser/vsprocs.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/volser/vsprocs.c b/src/volser/vsprocs.c index c88e063f41..f7730987f1 100644 --- a/src/volser/vsprocs.c +++ b/src/volser/vsprocs.c @@ -4379,9 +4379,10 @@ UV_RestoreVolume2(afs_int32 toserver, afs_int32 topart, afs_int32 tovolid, same = VLDB_IsSameAddrs(toserver, entry.serverNumber[index], &errcode); - EPRINT2(errcode, - "Failed to get info about server's %d address(es) from vlserver (err=%d)\n", - toserver, errcode); + if (errcode) + EPRINT2(errcode, + "Failed to get info about server's %d address(es) from vlserver (err=%d)\n", + toserver, errcode); if ((!errcode && !same) || (entry.serverPartition[index] != topart)) { tempconn =