]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Fix typo in comment.
authorEtsuro Fujita <efujita@postgresql.org>
Mon, 2 May 2022 07:45:06 +0000 (16:45 +0900)
committerEtsuro Fujita <efujita@postgresql.org>
Mon, 2 May 2022 07:45:06 +0000 (16:45 +0900)
src/backend/storage/ipc/latch.c

index 2426cbcf8e92322e6ebf29b83c27ca701c4caa4a..0209f7569109ae35767d33e5942c8053ff098ed4 100644 (file)
@@ -549,7 +549,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);