[lvm-devel] [PATCH] Fix error message in create_text_format

Takahiro Yasui tyasui at redhat.com
Thu Mar 19 15:40:11 UTC 2009


Hi,

This patch fixes the error message in create_text_format
function.


Regards,
---
Takahiro Yasui
Hitachi Computer Products (America), Inc.



Signed-off-by: Takahiro Yasui <tyasui at redhat.com>
---
 lib/format_text/format-text.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: LVM2.02.46-20090316/lib/format_text/format-text.c
===================================================================
--- LVM2.02.46-20090316.orig/lib/format_text/format-text.c
+++ LVM2.02.46-20090316/lib/format_text/format-text.c
@@ -1996,8 +1996,8 @@ struct format_type *create_text_format(s
 			}
 
 			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;
 			}
 		}




More information about the lvm-devel mailing list