From 1d13e51826cd4d228c9adcd7eb9c8bb0df0be77f Mon Sep 17 00:00:00 2001 From: Takahiro Yasui Date: Mon, 23 Mar 2009 21:13:37 +0000 Subject: [PATCH] Fix error message when adding metadata directory to internal list fails. Author: Takahiro Yasui --- WHATS_NEW | 1 + lib/format_text/format-text.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/WHATS_NEW b/WHATS_NEW index 20a87a2e2..0d09ba696 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -7,6 +7,7 @@ Version 2.02.46 - Rename liblvm.a to liblvm-internal.a and build new application library. Flush memory pool and fix locking in clvmd refresh and backup command. Fix unlocks in clvmd-corosync. Broken in 2.02.45. + Fix error message when adding metadata directory to internal list fails. Version 2.02.45 - 3rd March 2009 ================================ diff --git a/lib/format_text/format-text.c b/lib/format_text/format-text.c index b70a97f61..5488d32be 100644 --- a/lib/format_text/format-text.c +++ b/lib/format_text/format-text.c @@ -1996,8 +1996,8 @@ struct format_type *create_text_format(struct cmd_context *cmd) } if (!_add_dir(cv->v.str, &mda_lists->dirs)) { - log_error("Failed to add %s to internal device " - "cache", cv->v.str); + log_error("Failed to add %s to text format " + "metadata directory list ", cv->v.str); goto err; } }