STABLE14-vsprocs-avoid-bogus-error-20070606

don't EPRINT if it's not an error


(cherry picked from commit fcfdcc3cc1c272966574103f7e8bd495c7fcbb84)
This commit is contained in:
Derrick Brashear 2007-06-06 18:57:43 +00:00
parent cf8d635016
commit 801a43b41d

View File

@ -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 =