summaryrefslogtreecommitdiff
path: root/runtime/msg.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2009-09-02 16:43:52 +0200
committerMichael Biebl <biebl@debian.org>2009-09-02 16:43:52 +0200
commita3320fb454a00c23e50fa18b5507b657212b01d2 (patch)
tree369650a38a79d339cba35ebab325e43633290a54 /runtime/msg.c
parent2299dddfa134ce3e55ee3a7fd2181f0e4ddff0bd (diff)
downloadrsyslog-a3320fb454a00c23e50fa18b5507b657212b01d2.tar.gz
Imported Upstream version 4.4.1upstream/4.4.1
Diffstat (limited to 'runtime/msg.c')
-rw-r--r--runtime/msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/msg.c b/runtime/msg.c
index 22f81f5..e26fe5e 100644
--- a/runtime/msg.c
+++ b/runtime/msg.c
@@ -751,7 +751,7 @@ static inline char *getPRI(msg_t *pM)
*/
MsgLock(pM);
if(pM->bufPRI[0] == '\0') {
- snprintf((char*)pM->bufPRI, sizeof(pM->bufPRI), "<%d>", getPRIi(pM));
+ snprintf((char*)pM->bufPRI, sizeof(pM->bufPRI), "%d", getPRIi(pM));
}
MsgUnlock(pM);