Skip to content

Commit

Permalink
[Utils] Fix missing format parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
abh3 authored and simonmichal committed Jun 21, 2019
1 parent 0847623 commit 63bf45e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XrdOuc/XrdOucUtils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ int LookUp(idMap_t &idMap, unsigned int id, char *buff, int blen)
{delete it->second;
idMap.erase(it);
} else {
if (blen > 0) luRet = snprintf(buff, blen, it->second->Name);
if (blen > 0) luRet = snprintf(buff, blen, "%s", it->second->Name);
}
}
idMutex.UnLock();
Expand Down

0 comments on commit 63bf45e

Please sign in to comment.