aboutsummaryrefslogtreecommitdiffstats
path: root/src/lmtp_proto.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-03-02 16:43:01 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-03-02 16:43:01 +0300
commit3d6020ef1ed601e1f2db2a90f7b64d1a634db171 (patch)
treeaeb199db662a4a0ceece072dab997b037181704e /src/lmtp_proto.c
parent03490c09f41a52e59d5375c6b83872b725c96943 (diff)
downloadrspamd-3d6020ef1ed601e1f2db2a90f7b64d1a634db171.tar.gz
rspamd-3d6020ef1ed601e1f2db2a90f7b64d1a634db171.zip
* Remove %m from logging it seems to be unsupported by FreeBSD printf version
Diffstat (limited to 'src/lmtp_proto.c')
-rw-r--r--src/lmtp_proto.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lmtp_proto.c b/src/lmtp_proto.c
index 06bba02fe..42bf3560a 100644
--- a/src/lmtp_proto.c
+++ b/src/lmtp_proto.c
@@ -432,7 +432,7 @@ lmtp_deliver_mta (struct worker_task *task)
sock = make_socket (&task->cfg->deliver_addr, task->cfg->deliver_port);
}
if (sock == -1) {
- msg_warn ("lmtp_deliver_mta: cannot create socket for %s, %m", task->cfg->deliver_host);
+ msg_warn ("lmtp_deliver_mta: cannot create socket for %s, %s", task->cfg->deliver_host, strerror (errno));
}
/* Socket options */
@@ -554,7 +554,7 @@ lmtp_deliver_lda (struct worker_task *task)
if (pipe (p) == -1) {
g_strfreev (argv);
- msg_info ("lmtp_deliver_lda: cannot open pipe: %m");
+ msg_info ("lmtp_deliver_lda: cannot open pipe: %s", strerror (errno));
return -1;
}
@@ -562,13 +562,13 @@ lmtp_deliver_lda (struct worker_task *task)
#ifdef HAVE_VFORK
if ((cpid = vfork ()) == -1) {
g_strfreev (argv);
- msg_info ("lmtp_deliver_lda: cannot fork: %m");
+ msg_info ("lmtp_deliver_lda: cannot fork: %s", strerror (errno));
return -1;
}
#else
if ((cpid = fork ()) == -1) {
g_strfreev (argv);
- msg_info ("lmtp_deliver_lda: cannot fork: %m");
+ msg_info ("lmtp_deliver_lda: cannot fork: %s", strerror (errno));
return -1;
}
#endif