From: Victor Julien Date: Tue, 1 Aug 2017 08:13:10 +0000 (+0200) Subject: detect-msg: cleanup error message X-Git-Tag: suricata-4.0.1~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac12c04f114962eb7250730d810d96fc6575efb8;p=thirdparty%2Fsuricata.git detect-msg: cleanup error message --- diff --git a/src/detect-msg.c b/src/detect-msg.c index 5d5a9ad503..a7dd2c8f03 100644 --- a/src/detect-msg.c +++ b/src/detect-msg.c @@ -104,7 +104,7 @@ static int DetectMsgSetup (DetectEngineCtx *de_ctx, Signature *s, const char *ms } if (s->msg != NULL) { - SCLogError(SC_ERR_INVALID_RULE_ARGUMENT, "Duplicated 'msg:' keyword detected!"); + SCLogError(SC_ERR_INVALID_SIGNATURE, "duplicated 'msg' keyword detected"); goto error; } s->msg = SCStrdup(str);