summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Steves <stevesk@cvs.openbsd.org>2006-11-27 15:02:35 +0000
committerKevin Steves <stevesk@cvs.openbsd.org>2006-11-27 15:02:35 +0000
commit007668a65d39d04130a835b7ea94ebc3d43b70f6 (patch)
tree52ac7d2342513dccef84a7f25b924cabb61a3afc
parenta0b6e52aa68ece17f3848df37e1f02a255906069 (diff)
use correct function name in error message; ok henning@
-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));