summaryrefslogtreecommitdiffstats
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorDavid Carlier <dcarlier@afilias.info>2020-01-28 12:53:32 (GMT)
committerPetr Viktorin <encukou@gmail.com>2020-01-28 12:53:32 (GMT)
commitaabdeb766b7fa581e7de01f3c953b12792f0736d (patch)
tree3ed6c4b6c00b8142775b9a996e84e3be383d3265 /Python/sysmodule.c
parent2cca8efe46935c39c445f585bce54954fad2485b (diff)
downloadcpython-aabdeb766b7fa581e7de01f3c953b12792f0736d.zip
cpython-aabdeb766b7fa581e7de01f3c953b12792f0736d.tar.gz
cpython-aabdeb766b7fa581e7de01f3c953b12792f0736d.tar.bz2
bpo-38960: DTrace build fix for FreeBSD. (GH-17451)
DTrace build fix for FreeBSD. - allowing passing an extra flag as it need to define the arch size. - casting some probe's arguments.
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r--Python/sysmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index 9f866a2..17e7960 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -204,7 +204,7 @@ PySys_Audit(const char *event, const char *argFormat, ...)
/* Dtrace USDT point */
if (dtrace) {
- PyDTrace_AUDIT(event, (void *)eventArgs);
+ PyDTrace_AUDIT((char *)event, (void *)eventArgs);
}
/* Call interpreter hooks */