mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00
Fixing a number of reporter calls.
This commit is contained in:
parent
9af6c183d2
commit
a08c478079
9 changed files with 22 additions and 22 deletions
|
@ -85,7 +85,7 @@ int expand_escape(const char*& s)
|
|||
int result;
|
||||
if ( sscanf(start, "%3o", &result) != 1 )
|
||||
{
|
||||
reporter->Warning("bad octal escape: ", start);
|
||||
reporter->Warning("bad octal escape: %s ", start);
|
||||
result = 0;
|
||||
}
|
||||
|
||||
|
@ -104,7 +104,7 @@ int expand_escape(const char*& s)
|
|||
int result;
|
||||
if ( sscanf(start, "%2x", &result) != 1 )
|
||||
{
|
||||
reporter->Warning("bad hexadecimal escape: ", start);
|
||||
reporter->Warning("bad hexadecimal escape: %s", start);
|
||||
result = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue