From ec2019abe255949d5adcafc8f81cb949b45885e3 Mon Sep 17 00:00:00 2001 From: varmojfekoj Date: Mon, 12 Jan 2009 12:37:41 +0100 Subject: fixed type in format string (s as string indicator missing) Signed-off-by: Rainer Gerhards --- action.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.c b/action.c index ab4d2f4d..c95c0def 100644 --- a/action.c +++ b/action.c @@ -627,7 +627,7 @@ actionWriteToAction(action_t *pAction) pAction->f_prevcount); #else uchar szRepMsg[1024]; - snprintf((char*)szRepMsg, sizeof(szRepMsg), "message repeated %d times: [%.800]", + snprintf((char*)szRepMsg, sizeof(szRepMsg), "message repeated %d times: [%.800s]", pAction->f_prevcount, getMSG(pAction->f_pMsg)); #endif -- cgit v1.2.3