8024007: Misc. cleanup of static agent code

Minor cleanup of static agent code from 8014135

Reviewed-by: dcubed, sspitsyn
This commit is contained in:
Bill Pittore 2013-09-11 20:03:34 -04:00
parent 7e04c1775c
commit 091edb47c5
5 changed files with 10 additions and 7 deletions

View file

@ -5429,7 +5429,7 @@ char* os::build_agent_function_name(const char *sym_name, const char *lib_name,
if ((start = strrchr(lib_name, *os::file_separator())) != NULL) {
lib_name = ++start;
} else {
// Need to check for C:
// Need to check for drive prefix
if ((start = strchr(lib_name, ':')) != NULL) {
lib_name = ++start;
}