summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ripd/auth.c
diff options
context:
space:
mode:
authorstevesk <stevesk@openbsd.org>2006-11-27 15:02:34 +0000
committerstevesk <stevesk@openbsd.org>2006-11-27 15:02:34 +0000
commit88efd76b9b0f772decf5b3d3f7ca188604517c37 (patch)
tree0b2622e9610260b708446f39cb4a24e7f9914ad9 /usr.sbin/ripd/auth.c
parentAdd PT_STEP. (diff)
downloadwireguard-openbsd-88efd76b9b0f772decf5b3d3f7ca188604517c37.tar.xz
wireguard-openbsd-88efd76b9b0f772decf5b3d3f7ca188604517c37.zip
use correct function name in error message; ok henning@
Diffstat (limited to 'usr.sbin/ripd/auth.c')
-rw-r--r--usr.sbin/ripd/auth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ripd/auth.c b/usr.sbin/ripd/auth.c
index c5905f17fed..3f29bf8752f 100644
--- a/usr.sbin/ripd/auth.c
+++ b/usr.sbin/ripd/auth.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth.c,v 1.3 2006/10/31 07:16:45 mcbride Exp $ */
+/* $OpenBSD: auth.c,v 1.4 2006/11/27 15:02:34 stevesk Exp $ */
/*
* Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it>
@@ -289,7 +289,7 @@ md_list_copy(struct auth_md_head *to, struct auth_md_head *from)
TAILQ_FOREACH(m, from, entry) {
if ((md = calloc(1, sizeof(struct auth_md))) == NULL)
- fatalx("md_list_add");
+ fatalx("md_list_copy");
md->keyid = m->keyid;
strncpy(md->key, m->key, sizeof(md->key));