Fix typo in comment.
authorEtsuro Fujita <efujita@postgresql.org>
Mon, 2 May 2022 07:45:00 +0000 (16:45 +0900)
committerEtsuro Fujita <efujita@postgresql.org>
Mon, 2 May 2022 07:45:00 +0000 (16:45 +0900)
src/backend/storage/ipc/latch.c

index 9dbb4f17cf8d2a1a1ef89585542aca40ebf5a25e..78c6a89271316eeae56c8cabf407e0b24ac50dda 100644 (file)
@@ -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);