summaryrefslogtreecommitdiffstats
path: root/action.c
diff options
context:
space:
mode:
authorvarmojfekoj <theinric@redhat.com>2009-01-12 12:37:41 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2009-01-12 12:37:41 +0100
commitec2019abe255949d5adcafc8f81cb949b45885e3 (patch)
tree756e1ac71fb1358b7ae100f0d3a123a04bd32890 /action.c
parenta185665be4cf699752589d81ef6e396dd61f68b6 (diff)
downloadrsyslog-ec2019abe255949d5adcafc8f81cb949b45885e3.tar.gz
rsyslog-ec2019abe255949d5adcafc8f81cb949b45885e3.tar.xz
rsyslog-ec2019abe255949d5adcafc8f81cb949b45885e3.zip
fixed type in format string (s as string indicator missing)
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
Diffstat (limited to 'action.c')
-rw-r--r--action.c2
1 files changed, 1 insertions, 1 deletions
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