summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/ctl
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/ctl')
-rw-r--r--Mac/Modules/ctl/Ctlmodule.c2
-rw-r--r--Mac/Modules/ctl/ctlsupport.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Modules/ctl/Ctlmodule.c b/Mac/Modules/ctl/Ctlmodule.c
index 6b43b68..6a74d23 100644
--- a/Mac/Modules/ctl/Ctlmodule.c
+++ b/Mac/Modules/ctl/Ctlmodule.c
@@ -1419,7 +1419,7 @@ mytracker(ctl, part)
if (rv)
Py_DECREF(rv);
else
- fprintf(stderr, "TrackControl: exception in tracker function\n");
+ PySys_WriteStderr("TrackControl: exception in tracker function\n");
}
diff --git a/Mac/Modules/ctl/ctlsupport.py b/Mac/Modules/ctl/ctlsupport.py
index e01e871..84dd6ce 100644
--- a/Mac/Modules/ctl/ctlsupport.py
+++ b/Mac/Modules/ctl/ctlsupport.py
@@ -137,7 +137,7 @@ mytracker(ctl, part)
if (rv)
Py_DECREF(rv);
else
- fprintf(stderr, "TrackControl: exception in tracker function\\n");
+ PySys_WriteStderr("TrackControl: exception in tracker function\\n");
}
"""