aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEtsuro Fujita <efujita@postgresql.org>2022-05-02 16:45:02 +0900
committerEtsuro Fujita <efujita@postgresql.org>2022-05-02 16:45:02 +0900
commit24c58f7a2a5c762f35ffe8aaa00fa08caeb881fe (patch)
treed94895707cfde1457f82d8cfeacc436f905e4eb1
parentebb79024152348227250404fd06c35c56cbc672e (diff)
downloadpostgresql-24c58f7a2a5c762f35ffe8aaa00fa08caeb881fe.tar.gz
postgresql-24c58f7a2a5c762f35ffe8aaa00fa08caeb881fe.zip
Fix typo in comment.
-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 6ff1ecbe098..5076a866937 100644
--- a/src/backend/storage/ipc/latch.c
+++ b/src/backend/storage/ipc/latch.c
@@ -690,7 +690,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);