From cd836de611267ef77546a1a98b83e147b3f0a81b Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Fri, 14 Jan 2011 19:47:16 +0000 Subject: [PATCH] Rephrase a log message in any_loaded_file_changed(). Log messages should start with constant strings to simplify pattern matching. --- loaders.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/loaders.c b/loaders.c index 4c6b50c9..ee8e2006 100644 --- a/loaders.c +++ b/loaders.c @@ -1,4 +1,4 @@ -const char loaders_rcs[] = "$Id: loaders.c,v 1.77 2010/12/26 15:30:28 fabiankeil Exp $"; +const char loaders_rcs[] = "$Id: loaders.c,v 1.78 2010/12/31 14:53:09 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/loaders.c,v $ @@ -1472,7 +1472,8 @@ int any_loaded_file_changed(const struct file_list *files_to_check) { if (file_has_been_modified(file_to_check->filename, file_to_check->lastmodified)) { - log_error(LOG_LEVEL_INFO, "%s has been changed", file_to_check->filename); + log_error(LOG_LEVEL_INFO, + "File modification detected: %s", file_to_check->filename); return TRUE; } file_to_check = file_to_check->next; -- 2.49.0