aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEtsuro Fujita <efujita@postgresql.org>2022-05-02 16:45:04 +0900
committerEtsuro Fujita <efujita@postgresql.org>2022-05-02 16:45:04 +0900
commitd85f2bfa09f64e52436e8f05a9e112e160bace65 (patch)
treea5d0ba145cbfcb196162a0d993727a8b79a8ccec
parentd9cede2c3bfd0739acf294e4e83b36ea9de36b83 (diff)
downloadpostgresql-d85f2bfa09f64e52436e8f05a9e112e160bace65.tar.gz
postgresql-d85f2bfa09f64e52436e8f05a9e112e160bace65.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 dcf85c90637..4ae53c09fca 100644
--- a/src/backend/storage/ipc/latch.c
+++ b/src/backend/storage/ipc/latch.c
@@ -570,7 +570,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);