diff options
author | bapt <bapt@FreeBSD.org> | 2015-10-11 17:45:20 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-10-11 17:45:20 +0000 |
commit | f068189651266ff7a1c74d6a7cde1c2229a1521b (patch) | |
tree | 2660f2de9c955f0f2553e9a5b744adf7ba538ce9 | |
parent | ae914cd1b33d79ecfd07619b10e8fe4d6bccefca (diff) | |
download | FreeBSD-src-f068189651266ff7a1c74d6a7cde1c2229a1521b.zip FreeBSD-src-f068189651266ff7a1c74d6a7cde1c2229a1521b.tar.gz |
Fix build with gcc 4.2
-rw-r--r-- | contrib/dma/conf.c | 2 | ||||
-rw-r--r-- | contrib/dma/dma.c | 2 | ||||
-rw-r--r-- | contrib/dma/mail.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/contrib/dma/conf.c b/contrib/dma/conf.c index 3e3c7d3..b8a6a2e 100644 --- a/contrib/dma/conf.c +++ b/contrib/dma/conf.c @@ -121,7 +121,7 @@ parse_authfile(const char *path) au = calloc(1, sizeof(*au)); if (au == NULL) - errlog(EX_OSERR, NULL); + errlog(EX_OSERR, "calloc()"); data = strdup(line); au->login = strsep(&data, "|"); diff --git a/contrib/dma/dma.c b/contrib/dma/dma.c index 0d1dba2..684ab05 100644 --- a/contrib/dma/dma.c +++ b/contrib/dma/dma.c @@ -596,7 +596,7 @@ skipopts: errlog(EX_SOFTWARE, "could not parse aliases file `%s'", config.aliases); if ((sender = set_from(&queue, sender)) == NULL) - errlog(EX_SOFTWARE, NULL); + errlog(EX_SOFTWARE, "set_from()"); if (newspoolf(&queue) != 0) errlog(EX_CANTCREAT, "can not create temp file in `%s'", config.spooldir); diff --git a/contrib/dma/mail.c b/contrib/dma/mail.c index a6d11fc..842072c 100644 --- a/contrib/dma/mail.c +++ b/contrib/dma/mail.c @@ -333,7 +333,7 @@ newaddr: ps->pos = 0; addr = strdup(ps->addr); if (addr == NULL) - errlog(EX_SOFTWARE, NULL); + errlog(EX_SOFTWARE, "strdup"); if (add_recp(queue, addr, EXPAND_WILDCARD) != 0) errlogx(EX_DATAERR, "invalid recipient `%s'", addr); |