From e8b22b55260d0b96218532177156929d74445c3a Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Wed, 24 Nov 2010 14:22:06 +0100 Subject: [PATCH] Fix a couple of typos in messages & manpages. --- sbin/hammer/cmd_dedup.c | 12 ++++++------ share/man/man8/swapcache.8 | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sbin/hammer/cmd_dedup.c b/sbin/hammer/cmd_dedup.c index 872a474c9f..b539ba4a3b 100644 --- a/sbin/hammer/cmd_dedup.c +++ b/sbin/hammer/cmd_dedup.c @@ -405,7 +405,7 @@ process_btree_elm(hammer_btree_leaf_elm_t scan_leaf, int flags) */ if (de->flags & HAMMER_DEDUP_ENTRY_FICTITIOUS) { /* - * Entry in CRC tree is fictious, so we already had problems + * Entry in CRC tree is fictitious, so we already had problems * with this CRC. Upgrade (compute SHA) the candidate and * dive into SHA subtree. If upgrade fails insert the candidate * into Pass2 list (it will be processed later). @@ -485,7 +485,7 @@ sha256_failure: } else { /* * Candidate CRC is good for now (we found an entry in CRC - * tree and it's not fictious). This means we have a + * tree and it's not fictitious). This means we have a * potential dedup pair. */ if (validate_dedup_pair(&de->leaf, scan_leaf)) @@ -525,12 +525,12 @@ crc_failure: * dedup pair went bad. In all cases insert both blocks * into SHA subtree (this requires checksum upgrade) and mark * entry that corresponds to this CRC in the CRC tree - * fictious, so that all futher operations with this CRC go + * fictitious, so that all futher operations with this CRC go * through SHA subtree. */ ++dedup_crc_failures; /* - * Insert block that was represented by now fictious dedup + * Insert block that was represented by now fictitious dedup * entry (create a new SHA entry and preserve stats of the * old CRC one). If checksum upgrade fails insert the * candidate into Pass2 list and return - keep both trees @@ -553,7 +553,7 @@ crc_failure: RB_INSERT(sha_dedup_entry_rb_tree, &de->u.fict_root, sha_de); /* - * Mark entry in CRC tree fictious + * Mark entry in CRC tree fictitious */ de->flags |= HAMMER_DEDUP_ENTRY_FICTITIOUS; @@ -746,7 +746,7 @@ dump_real_dedup(void) printf("=== Dumping dedup entries:\n"); RB_FOREACH(de, dedup_entry_rb_tree, &dedup_tree) { if (de->flags & HAMMER_DEDUP_ENTRY_FICTITIOUS) { - printf("\tcrc=%08x fictious\n", de->leaf.data_crc); + printf("\tcrc=%08x fictitious\n", de->leaf.data_crc); RB_FOREACH(sha_de, sha_dedup_entry_rb_tree, &de->u.fict_root) { printf("\t\tcrc=%08x cnt=%ju size=%ju\n\t" diff --git a/share/man/man8/swapcache.8 b/share/man/man8/swapcache.8 index 5fe3697deb..748e7e1396 100644 --- a/share/man/man8/swapcache.8 +++ b/share/man/man8/swapcache.8 @@ -399,9 +399,9 @@ a single large-capacity drive it doesn't make a whole lot of sense to use RAID if your only desire is to improve performance. If you had a farm of, say, 20 servers supporting the same facility adding RAID to each one would not accomplish anything other than to bloat your deployment and -maintainance costs. +maintenance costs. .Pp -In these sorts of situations it may be desireable and convenient to have +In these sorts of situations it may be desirable and convenient to have the primary filesystem for each machine on a single large drive and then use the .Nm -- 2.41.0