diff options
author | pjd <pjd@FreeBSD.org> | 2011-04-20 16:38:05 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2011-04-20 16:38:05 +0000 |
commit | 5e2adb5a7c936393c35ee687638cfbf23d6d170c (patch) | |
tree | a227263ec0c73bfb45ba8f9536aa0b36ca65cc36 /sbin | |
parent | 959bc74175cdf66a4e6fb6879889d2de1a56b89d (diff) | |
download | FreeBSD-src-5e2adb5a7c936393c35ee687638cfbf23d6d170c.zip FreeBSD-src-5e2adb5a7c936393c35ee687638cfbf23d6d170c.tar.gz |
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
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/hastd/hastd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/hastd/hastd.c b/sbin/hastd/hastd.c index 09c45bc..444dd63 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", |