Input Manager: tiny error message fix.

This commit is contained in:
Johanna Amann 2017-02-23 09:59:48 -08:00
parent 7bbaa911b0
commit ae6dbf17a2
2 changed files with 2 additions and 2 deletions

View file

@ -2380,7 +2380,7 @@ Val* Manager::ValueToVal(const Stream* i, const Value* val, BroType* request_typ
bro_int_t index = request_type->AsEnumType()->Lookup(module, var.c_str()); bro_int_t index = request_type->AsEnumType()->Lookup(module, var.c_str());
if ( index == -1 ) if ( index == -1 )
{ {
Warning(i, "Value not '%s' for stream '%s' is not a valid enum.", Warning(i, "Value '%s' for stream '%s' is not a valid enum.",
enum_string.c_str(), i->name.c_str()); enum_string.c_str(), i->name.c_str());
have_error = true; have_error = true;

View file

@ -1,2 +1,2 @@
warning: Value not 'IdoNot::Exist' for stream 'enum' is not a valid enum. warning: Value 'IdoNot::Exist' for stream 'enum' is not a valid enum.
received termination signal received termination signal