From 034661e84fd10466092c2006bbb14938d7cc168a Mon Sep 17 00:00:00 2001 From: stan Date: Sat, 14 Jan 2006 13:35:09 +0000 Subject: [PATCH] Changed comments to refer to zmupdate and not zmconfig. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1800 e3e1d417-86f3-4887-817a-d78f3d33393f --- src/zm_config.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/zm_config.cpp b/src/zm_config.cpp index ec8ee5d68..a96a8d47e 100644 --- a/src/zm_config.cpp +++ b/src/zm_config.cpp @@ -163,7 +163,7 @@ bool ConfigItem::BooleanValue() const if ( cfg_type != CFG_BOOLEAN ) { - Error(( "Attempt to fetch boolean value for %s, actual type is %s. Try running zmconfig.pl to reload config.", name, type )); + Error(( "Attempt to fetch boolean value for %s, actual type is %s. Try running 'zmupdate.pl -f' to reload config.", name, type )); exit( -1 ); } @@ -177,7 +177,7 @@ int ConfigItem::IntegerValue() const if ( cfg_type != CFG_INTEGER ) { - Error(( "Attempt to fetch integer value for %s, actual type is %s. Try running zmconfig.pl to reload config.", name, type )); + Error(( "Attempt to fetch integer value for %s, actual type is %s. Try running 'zmupdate.pl -f' to reload config.", name, type )); exit( -1 ); } @@ -191,7 +191,7 @@ double ConfigItem::DecimalValue() const if ( cfg_type != CFG_DECIMAL ) { - Error(( "Attempt to fetch decimal value for %s, actual type is %s. Try running zmconfig.pl to reload config.", name, type )); + Error(( "Attempt to fetch decimal value for %s, actual type is %s. Try running 'zmupdate.pl -f' to reload config.", name, type )); exit( -1 ); } @@ -205,7 +205,7 @@ const char *ConfigItem::StringValue() const if ( cfg_type != CFG_STRING ) { - Error(( "Attempt to fetch string value for %s, actual type is %s. Try running zmconfig.pl to reload config.", name, type )); + Error(( "Attempt to fetch string value for %s, actual type is %s. Try running 'zmupdate.pl -f' to reload config.", name, type )); exit( -1 ); } @@ -251,7 +251,7 @@ void Config::Load() if ( n_items <= ZM_MAX_CFG_ID ) { - Error(( "Config mismatch, expected %d items, read %d. . Try running zmconfig.pl to reload config.", ZM_MAX_CFG_ID+1, n_items )); + Error(( "Config mismatch, expected %d items, read %d. Try running 'zmupdate.pl -f' to reload config.", ZM_MAX_CFG_ID+1, n_items )); exit( -1 ); } @@ -298,7 +298,7 @@ const ConfigItem &Config::Item( int id ) if ( id < 0 || id > ZM_MAX_CFG_ID ) { - Error(( "Attempt to access invalid config, id = %d. Try running zmconfig.pl to reload config.", id )); + Error(( "Attempt to access invalid config, id = %d. Try running 'zmupdate.pl -f' to reload config.", id )); exit( -1 ); }