aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEtsuro Fujita <efujita@postgresql.org>2022-05-02 16:45:00 +0900
committerEtsuro Fujita <efujita@postgresql.org>2022-05-02 16:45:00 +0900
commitd89f97e83efed4b2ac0a1803a1b6813c8277de73 (patch)
tree98b7019d00f87f8be81843a6213c428222be8c12 /src
parented57cac84d1c5642737dab1e4c4b8cb4f0c4305f (diff)
downloadpostgresql-d89f97e83efed4b2ac0a1803a1b6813c8277de73.tar.gz
postgresql-d89f97e83efed4b2ac0a1803a1b6813c8277de73.zip
Fix typo in comment.
Diffstat (limited to 'src')
-rw-r--r--src/backend/storage/ipc/latch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/storage/ipc/latch.c b/src/backend/storage/ipc/latch.c
index 9dbb4f17cf8..78c6a892713 100644
--- a/src/backend/storage/ipc/latch.c
+++ b/src/backend/storage/ipc/latch.c
@@ -689,7 +689,7 @@ CreateWaitEventSet(MemoryContext context, int nevents)
* Use MAXALIGN size/alignment to guarantee that later uses of memory are
* aligned correctly. E.g. epoll_event might need 8 byte alignment on some
* platforms, but earlier allocations like WaitEventSet and WaitEvent
- * might not sized to guarantee that when purely using sizeof().
+ * might not be sized to guarantee that when purely using sizeof().
*/
sz += MAXALIGN(sizeof(WaitEventSet));
sz += MAXALIGN(sizeof(WaitEvent) * nevents);