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
This commit is contained in:
stan 2006-01-14 13:35:09 +00:00
parent 365d49734e
commit 034661e84f
1 changed files with 6 additions and 6 deletions

View File

@ -163,7 +163,7 @@ bool ConfigItem::BooleanValue() const
if ( cfg_type != CFG_BOOLEAN ) 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 ); exit( -1 );
} }
@ -177,7 +177,7 @@ int ConfigItem::IntegerValue() const
if ( cfg_type != CFG_INTEGER ) 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 ); exit( -1 );
} }
@ -191,7 +191,7 @@ double ConfigItem::DecimalValue() const
if ( cfg_type != CFG_DECIMAL ) 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 ); exit( -1 );
} }
@ -205,7 +205,7 @@ const char *ConfigItem::StringValue() const
if ( cfg_type != CFG_STRING ) 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 ); exit( -1 );
} }
@ -251,7 +251,7 @@ void Config::Load()
if ( n_items <= ZM_MAX_CFG_ID ) 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 ); exit( -1 );
} }
@ -298,7 +298,7 @@ const ConfigItem &Config::Item( int id )
if ( id < 0 || id > ZM_MAX_CFG_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 ); exit( -1 );
} }