1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

cleanup: use WARNING prefix for log_warn

Use capital WARNING prefix for log_warn() messages.
This commit is contained in:
Zdenek Kabelac 2016-10-26 14:42:13 +02:00
parent 0d95082aa9
commit 4e26024add
2 changed files with 5 additions and 5 deletions

View File

@ -3881,7 +3881,7 @@ merge:
continue; continue;
if (_extents_overlap(ext, next)) { if (_extents_overlap(ext, next)) {
log_warn("Warning: region IDs " FMTu64 " and " log_warn("WARNING: region IDs " FMTu64 " and "
FMTu64 " overlap. Some events will be " FMTu64 " overlap. Some events will be "
"counted twice.", ext->id, next->id); "counted twice.", ext->id, next->id);
/* merge larger extent into smaller */ /* merge larger extent into smaller */
@ -4002,8 +4002,8 @@ int dm_stats_create_group(struct dm_stats *dms, const char *members,
} }
if (precise && (precise != count)) if (precise && (precise != count))
log_warn("Grouping regions with different clock resolution: " log_warn("WARNING: Grouping regions with different clock resolution: "
"precision may be lost"); "precision may be lost.");
if (!_stats_group_check_overlap(dms, regions, count)) if (!_stats_group_check_overlap(dms, regions, count))
log_very_verbose("Creating group with overlapping regions."); log_very_verbose("Creating group with overlapping regions.");
@ -4048,7 +4048,7 @@ int dm_stats_delete_group(struct dm_stats *dms, uint64_t group_id,
if (dm_bit(regions, i)) { if (dm_bit(regions, i)) {
dm_bit_clear(regions, i); dm_bit_clear(regions, i);
if (remove_regions && !dm_stats_delete_region(dms, i)) if (remove_regions && !dm_stats_delete_region(dms, i))
log_warn("Failed to delete region " log_warn("WARNING: Failed to delete region "
FMTu64 " on %s.", i, dms->name); FMTu64 " on %s.", i, dms->name);
} }
} }

View File

@ -1611,7 +1611,7 @@ static int _udevcomplete_all(CMD_ARGS)
} }
if (!_switches[YES_ARG]) { if (!_switches[YES_ARG]) {
log_warn("This operation will destroy all semaphores %s%.0d%swith keys " log_warn("WARNING: This operation will destroy all semaphores %s%.0d%swith keys "
"that have a prefix %" PRIu16 " (0x%" PRIx16 ").", "that have a prefix %" PRIu16 " (0x%" PRIx16 ").",
age ? "older than " : "", age, age ? " minutes " : "", age ? "older than " : "", age, age ? " minutes " : "",
DM_COOKIE_MAGIC, DM_COOKIE_MAGIC); DM_COOKIE_MAGIC, DM_COOKIE_MAGIC);