summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/parse.y
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/smtpd/parse.y
parent7bed5cdd4784b4be0e4bb22026ee1c99cc236aa8 (diff)
- last snprintf -> bsnprintf
Diffstat (limited to 'usr.sbin/smtpd/parse.y')
-rw-r--r--usr.sbin/smtpd/parse.y4
1 files changed, 2 insertions, 2 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;