mirror of
git://sourceware.org/git/lvm2.git
synced 2024-10-27 18:55:19 +03:00
Small update of memlock debug messages.
Gives slightly better alligned lines for reading.
This commit is contained in:
parent
4ec2ae8632
commit
37036b0215
@ -137,7 +137,8 @@ static int _maps_line(struct cmd_context *cmd, lvmlock_t lock,
|
||||
|
||||
/* Select readable maps */
|
||||
if (fr != 'r') {
|
||||
log_debug("mlock area unreadable '%s': Skipping.", line);
|
||||
log_debug("% area unreadable %s : Skipping.",
|
||||
(lock == LVM_MLOCK) ? "mlock" : "munlock", line);
|
||||
return 1;
|
||||
}
|
||||
|
||||
@ -171,7 +172,7 @@ static int _maps_line(struct cmd_context *cmd, lvmlock_t lock,
|
||||
}
|
||||
|
||||
*mstats += sz;
|
||||
log_debug("%s %10ldKiB %12lx - %12lx %c%c%c%c %s",
|
||||
log_debug("%s %10ldKiB %12lx - %12lx %c%c%c%c%s",
|
||||
(lock == LVM_MLOCK) ? "mlock" : "munlock",
|
||||
((long)sz + 1023) / 1024, from, to, fr, fw, fx, fp, line + pos);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user