projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b90ce0d
)
Fix typo in comment.
author
Etsuro Fujita
<efujita@postgresql.org>
Mon, 2 May 2022 07:45:07 +0000
(16:45 +0900)
committer
Etsuro Fujita
<efujita@postgresql.org>
Mon, 2 May 2022 07:45:07 +0000
(16:45 +0900)
src/backend/storage/ipc/latch.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/storage/ipc/latch.c
b/src/backend/storage/ipc/latch.c
index e6706f7fb8008a03fd310ed752f38ab4e9084c69..4634351de41cb1f1771e8a8b0c75cf5a4a473960 100644
(file)
--- a/
src/backend/storage/ipc/latch.c
+++ b/
src/backend/storage/ipc/latch.c
@@
-527,7
+527,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);