From 0eb02c031bd41fbd271b112ad6cb60a4d5ac90ad Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Wed, 20 Apr 2011 16:38:05 +0000 Subject: [PATCH] If we act in different role than requested by the remote node, log it as a warning and not an error. MFC after: 1 week --- sbin/hastd/hastd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/hastd/hastd.c b/sbin/hastd/hastd.c index 09c45bce3828..444dd633ff89 100644 --- a/sbin/hastd/hastd.c +++ b/sbin/hastd/hastd.c @@ -730,7 +730,7 @@ listen_accept(void) } /* Is the resource marked as secondary? */ if (res->hr_role != HAST_ROLE_SECONDARY) { - pjdlog_error("We act as %s for the resource and not as %s as requested by %s.", + pjdlog_warning("We act as %s for the resource and not as %s as requested by %s.", role2str(res->hr_role), role2str(HAST_ROLE_SECONDARY), raddr); nv_add_stringf(nverr, "errmsg",