aboutsummaryrefslogtreecommitdiff
path: root/sbin/hastd/secondary.c
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2011-10-27 16:22:17 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2011-10-27 16:22:17 +0000
commit982369192e473cd51a19d7e01826074bc665e8af (patch)
tree676dd5739e80c3b3b3156661df9c8a186ae95613 /sbin/hastd/secondary.c
parent8e2eadb2081e6a5031aa7de794f7cdd248da05ed (diff)
downloadsrc-982369192e473cd51a19d7e01826074bc665e8af.tar.gz
src-982369192e473cd51a19d7e01826074bc665e8af.zip
Correct comments.
MFC after: 3 days
Notes
Notes: svn path=/head/; revision=226842
Diffstat (limited to 'sbin/hastd/secondary.c')
-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 c761143f9693..7a6d533dba91 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)) {
/*