summaryrefslogtreecommitdiffstats
path: root/sbin/hastd
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2011-10-27 16:22:17 +0000
committerpjd <pjd@FreeBSD.org>2011-10-27 16:22:17 +0000
commit315841e3acfb0734bb338e0d4b4e13c891f900e8 (patch)
tree676dd5739e80c3b3b3156661df9c8a186ae95613 /sbin/hastd
parentc59a6ed6df861a12559948d484e8a3399492ff29 (diff)
downloadFreeBSD-src-315841e3acfb0734bb338e0d4b4e13c891f900e8.zip
FreeBSD-src-315841e3acfb0734bb338e0d4b4e13c891f900e8.tar.gz
Correct comments.
MFC after: 3 days
Diffstat (limited to 'sbin/hastd')
-rw-r--r--sbin/hastd/secondary.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/hastd/secondary.c b/sbin/hastd/secondary.c
index c761143..7a6d533 100644
--- a/sbin/hastd/secondary.c
+++ b/sbin/hastd/secondary.c
@@ -280,13 +280,13 @@ init_remote(struct hast_resource *res, struct nv *nvin)
nv_free(nvout);
exit(EX_CONFIG);
} else if (
- /* Is primary is out-of-date? */
+ /* Is primary out-of-date? */
(res->hr_secondary_localcnt > res->hr_primary_remotecnt &&
res->hr_secondary_remotecnt == res->hr_primary_localcnt) ||
- /* Nodes are more or less in sync? */
+ /* Are the nodes more or less in sync? */
(res->hr_secondary_localcnt == res->hr_primary_remotecnt &&
res->hr_secondary_remotecnt == res->hr_primary_localcnt) ||
- /* Is secondary is out-of-date? */
+ /* Is secondary out-of-date? */
(res->hr_secondary_localcnt == res->hr_primary_remotecnt &&
res->hr_secondary_remotecnt < res->hr_primary_localcnt)) {
/*
OpenPOWER on IntegriCloud