diff options
| author | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2011-10-27 16:22:17 +0000 |
|---|---|---|
| committer | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2011-10-27 16:22:17 +0000 |
| commit | 982369192e473cd51a19d7e01826074bc665e8af (patch) | |
| tree | 676dd5739e80c3b3b3156661df9c8a186ae95613 /sbin | |
| parent | 8e2eadb2081e6a5031aa7de794f7cdd248da05ed (diff) | |
Notes
Diffstat (limited to 'sbin')
| -rw-r--r-- | sbin/hastd/secondary.c | 6 |
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)) { /* |
