aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorame <[email protected]>2024-11-07 01:49:09 -0600
committerame <[email protected]>2024-11-07 01:49:09 -0600
commit9a8ae72e94d92dc147bafae027d06e22645606a9 (patch)
tree9bb1939154cb0fa54fe19feffcc8c3b413efbd4c /src
parentdd6c0b6b3333f287dcd0886f8a0551f283948505 (diff)
dumb fix
Diffstat (limited to 'src')
-rw-r--r--src/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.c b/src/util.c
index 121a583..5612638 100644
--- a/src/util.c
+++ b/src/util.c
@@ -59,8 +59,8 @@ char* strnstr(const char *s1, const char *s2, size_t n) {
void _p_fatal(const char* m, int line, const char* file, const char* function){
fprintf(stderr, "%s[fatal] %s \n"
- "\tthread: %zu/%zu\n"
- "\tat: %s:%s(%i) %s\n",color_red, m, pthread_self(), threads, file, function, line, color_reset);
+ "\tthread: %zu\n"
+ "\tat: %s:%s(%i) %s\n",color_red, m, pthread_self(), file, function, line, color_reset);
exit(EXIT_FAILURE);
}