8154235: Using deprecated flags converted to UL shows wrong hint

Reviewed-by: rprotacio, mockner, coleenp
This commit is contained in:
Robbin Ehn 2016-04-19 09:48:43 +02:00
parent bda93dad55
commit 4b7eacd933

View File

@ -998,7 +998,7 @@ void log_deprecated_flag(const char* name, bool on, AliasedLoggingFlag alf) {
int max_tags = sizeof(tagSet)/sizeof(tagSet[0]);
for (int i = 0; i < max_tags && tagSet[i] != LogTag::__NO_TAG; i++) {
if (i > 0) {
strncat(tagset_buffer, ",", max_tagset_len - strlen(tagset_buffer));
strncat(tagset_buffer, "+", max_tagset_len - strlen(tagset_buffer));
}
strncat(tagset_buffer, LogTag::name(tagSet[i]), max_tagset_len - strlen(tagset_buffer));
}