Skip to content

Commit

Permalink
[XrdCl] Fix typo in arguments to formatting function: s% -> %s
Browse files Browse the repository at this point in the history
  • Loading branch information
amadio committed Nov 26, 2024
1 parent 3e53e89 commit e0081b7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/XrdCl/XrdClXCpSrc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ void XCpSrc::Steal( XCpSrc *src )
// need to notify
pCtx->NotifyIdleSrc();

log->Debug( UtilityMsg, "s%: Stealing everything from %s", myHost.c_str(), srcHost.c_str() );
log->Debug( UtilityMsg, "%s: Stealing everything from %s", myHost.c_str(), srcHost.c_str() );

return;
}
Expand All @@ -515,7 +515,7 @@ void XCpSrc::Steal( XCpSrc *src )
pBlkEnd = src->pBlkEnd;
src->pBlkEnd -= steal;

log->Debug( UtilityMsg, "s%: Stealing fraction (%f) of block from %s", myHost.c_str(), fraction, srcHost.c_str() );
log->Debug( UtilityMsg, "%s: Stealing fraction (%f) of block from %s", myHost.c_str(), fraction, srcHost.c_str() );

return;
}
Expand All @@ -530,7 +530,7 @@ void XCpSrc::Steal( XCpSrc *src )
src->pRecovered.erase( itr );
}

log->Debug( UtilityMsg, "s%: Stealing fraction (%f) of recovered chunks from %s", myHost.c_str(), fraction, srcHost.c_str() );
log->Debug( UtilityMsg, "%s: Stealing fraction (%f) of recovered chunks from %s", myHost.c_str(), fraction, srcHost.c_str() );

return;
}
Expand All @@ -551,7 +551,7 @@ void XCpSrc::Steal( XCpSrc *src )
src->pOngoing.erase( itr );
}

log->Debug( UtilityMsg, "s%: Stealing fraction (%f) of ongoing chunks from %s", myHost.c_str(), fraction, srcHost.c_str() );
log->Debug( UtilityMsg, "%s: Stealing fraction (%f) of ongoing chunks from %s", myHost.c_str(), fraction, srcHost.c_str() );
}
}

Expand All @@ -567,7 +567,7 @@ XRootDStatus XCpSrc::GetWork()

Log *log = DefaultEnv::GetLog();
std::string myHost = URL( pUrl ).GetHostName();
log->Debug( UtilityMsg, "s% got next block", myHost.c_str() );
log->Debug( UtilityMsg, "%s got next block", myHost.c_str() );

return XRootDStatus();
}
Expand Down

0 comments on commit e0081b7

Please sign in to comment.