Skip to content

Commit 0429a0a

Browse files
corona10vstinner
andauthored
Update Include/internal/pycore_mmap.h
Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent e4e4835 commit 0429a0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/internal/pycore_mmap.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ _PyAnnotateMemoryMap(void *addr, size_t size, const char *name)
2727
#endif
2828
assert(strlen(name) < 80);
2929
int old_errno = errno;
30-
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, (unsigned long)(addr), size, name);
30+
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, (unsigned long)addr, size, name);
3131
/* Ignore errno from prctl */
3232
/* See: https://bugzilla.redhat.com/show_bug.cgi?id=2302746 */
3333
errno = old_errno;

0 commit comments

Comments
 (0)