summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2009-03-10 17:37:46 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2009-03-10 17:37:46 +0000
commit5c46f26fff7dee9de72a7eb20c36e15f8aff2a0e (patch)
tree83fe6b22dfff12d016b57695adf988935951b24f /usr.sbin
parentc806402db5d8245dab2067b33b26152dcd9ef2e0 (diff)
The linked() function had an identity crisis and referred to itself
as "spf_calc" in fatal error messages.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ospf6d/rde_spf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ospf6d/rde_spf.c b/usr.sbin/ospf6d/rde_spf.c
index 177c0228c28..35ad84c6960 100644
--- a/usr.sbin/ospf6d/rde_spf.c
+++ b/usr.sbin/ospf6d/rde_spf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde_spf.c,v 1.6 2008/02/11 13:48:39 norby Exp $ */
+/* $OpenBSD: rde_spf.c,v 1.7 2009/03/10 17:37:45 stsp Exp $ */
/*
* Copyright (c) 2005 Esben Norby <norby@openbsd.org>
@@ -1063,7 +1063,7 @@ linked(struct vertex *w, struct vertex *v)
break;
#endif
default:
- fatalx("spf_calc: invalid type");
+ fatalx("linked: invalid type");
}
}
return (0);
@@ -1076,12 +1076,12 @@ linked(struct vertex *w, struct vertex *v)
return (1);
break;
default:
- fatalx("spf_calc: invalid type");
+ fatalx("linked: invalid type");
}
}
return (0);
default:
- fatalx("spf_calc: invalid LSA type");
+ fatalx("linked: invalid LSA type");
}
return (0);