summaryrefslogtreecommitdiffstats
path: root/runtime/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/io.c')
-rw-r--r--runtime/io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/io.c b/runtime/io.c
index 34c69727..e36381bd 100644
--- a/runtime/io.c
+++ b/runtime/io.c
@@ -47,7 +47,7 @@ static void _stp_vlog (enum code type, const char *func, int line, const char *f
}
if (type != DBUG)
- _stp_write(STP_OOB_DATA, buf, start + num + 1);
+ _stp_ctl_write(STP_OOB_DATA, buf, start + num + 1);
else {
_stp_print(buf);
_stp_print_flush();
@@ -93,7 +93,7 @@ void _stp_warn (const char *fmt, ...)
* unload the module and exit. The module will not be
* unloaded until after the current probe returns.
* @note Be careful to not treat this like the Linux exit()
- * call. You should probably call return immediately after
+ * call. You should probably call return immediately after
* calling _stp_exit().
*/
void _stp_exit (void)