fixed type in format string (s as string indicator missing)
authorvarmojfekoj <theinric@redhat.com>
Mon, 12 Jan 2009 11:37:41 +0000 (12:37 +0100)
committerRainer Gerhards <rgerhards@adiscon.com>
Mon, 12 Jan 2009 11:37:41 +0000 (12:37 +0100)
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
action.c

index ab4d2f4..c95c0de 100644 (file)
--- 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