summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2008-12-11 23:19:01 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2008-12-11 23:19:01 +0000
commit640884e9454df0e2f2d1e3f07ac0aab9a0ff9ef3 (patch)
tree6c1e14712da951b9e2eccc17eb2804afd46a9765 /usr.sbin
parent7bed5cdd4784b4be0e4bb22026ee1c99cc236aa8 (diff)
- last snprintf -> bsnprintf
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/smtpd/parse.y4
-rw-r--r--usr.sbin/smtpd/queue.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/smtpd/parse.y b/usr.sbin/smtpd/parse.y
index d5f748bf343..3f02a345b74 100644
--- a/usr.sbin/smtpd/parse.y
+++ b/usr.sbin/smtpd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.17 2008/12/11 23:06:39 gilles Exp $ */
+/* $OpenBSD: parse.y,v 1.18 2008/12/11 23:19:00 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -697,7 +697,7 @@ from : FROM mapref {
free(m);
YYERROR;
}
- if (! snprintf(m->m_name, MAX_LINE_SIZE, "<dynamic(%u)>", m->m_id))
+ if (! bsnprintf(m->m_name, MAX_LINE_SIZE, "<dynamic(%u)>", m->m_id))
fatal("snprintf");
m->m_flags |= F_DYNAMIC|F_USED;
m->m_type = T_SINGLE;
diff --git a/usr.sbin/smtpd/queue.c b/usr.sbin/smtpd/queue.c
index e7d210f128c..1d3a34724e5 100644
--- a/usr.sbin/smtpd/queue.c
+++ b/usr.sbin/smtpd/queue.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: queue.c,v 1.23 2008/12/11 23:17:25 gilles Exp $ */
+/* $OpenBSD: queue.c,v 1.24 2008/12/11 23:19:00 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -763,7 +763,7 @@ queue_create_incoming_layout(char *message_id)
>= MAXPATHLEN)
goto badroot;
- if (! snprintf(evpdir, MAXPATHLEN, "%s%s",
+ if (! bsnprintf(evpdir, MAXPATHLEN, "%s%s",
rootdir, PATH_ENVELOPES))
goto badroot;