aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/mac.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2017-03-31 20:17:47 -0400
committerRobert Haas <rhaas@postgresql.org>2017-03-31 20:18:11 -0400
commit9a12ad042d26ba085f8ef72d030699b6f3d43b01 (patch)
treeb9f47388bc818058a404a54b27828e2398932a84 /src/backend/utils/adt/mac.c
parent64d4da511c012faff8ac309595620938a43c6817 (diff)
downloadpostgresql-9a12ad042d26ba085f8ef72d030699b6f3d43b01.tar.gz
postgresql-9a12ad042d26ba085f8ef72d030699b6f3d43b01.zip
Fix typos.
Brandur Leach
Diffstat (limited to 'src/backend/utils/adt/mac.c')
-rw-r--r--src/backend/utils/adt/mac.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/backend/utils/adt/mac.c b/src/backend/utils/adt/mac.c
index 1b5b5188093..eff4529a6a8 100644
--- a/src/backend/utils/adt/mac.c
+++ b/src/backend/utils/adt/mac.c
@@ -398,7 +398,8 @@ macaddr_fast_cmp(Datum x, Datum y, SortSupport ssup)
/*
* SortSupport abbreviated key comparison function. Compares two MAC addresses
- * quickly by treating them like integers, and without having to go the heap.
+ * quickly by treating them like integers, and without having to go to the
+ * heap.
*/
static int
macaddr_cmp_abbrev(Datum x, Datum y, SortSupport ssup)
@@ -477,7 +478,7 @@ macaddr_abbrev_abort(int memtupcount, SortSupport ssup)
}
/*
- * SortSupport converstion routine. Converts original macaddr representation
+ * SortSupport conversion routine. Converts original macaddr representation
* to abbreviated key representation.
*
* Packs the bytes of a 6-byte MAC address into a Datum and treats it as an