aboutsummaryrefslogtreecommitdiff
path: root/src/util.c
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
commit09e7dc5efdd20bd3c48427e6a1915255f0685f02 (patch)
tree9bb1939154cb0fa54fe19feffcc8c3b413efbd4c /src/util.c
parentbbaf2ecb5ca47d9eaf098a183cd197e536d20a02 (diff)
dumb fix
Diffstat (limited to 'src/util.c')
-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);
}