Return to ktrace.c CVS log | Up to [local] / src / usr.bin / ktrace |
version 1.33, 2016/07/18 09:36:50 | version 1.34, 2017/06/11 17:32:19 | ||
---|---|---|---|
|
|
||
static void | static void | ||
no_ktrace(int signo) | no_ktrace(int signo) | ||
{ | { | ||
char buf[8192]; | dprintf(STDERR_FILENO, | ||
snprintf(buf, sizeof(buf), | |||
"error:\tktrace() system call not supported in the running kernel\n\tre-compile kernel with 'option KTRACE'\n"); | "error:\tktrace() system call not supported in the running kernel\n\tre-compile kernel with 'option KTRACE'\n"); | ||
write(STDERR_FILENO, buf, strlen(buf)); | |||
_exit(1); | _exit(1); | ||
} | } |