commit 8c0156f375d86b970a4917e38838ec5e6b905bbc parent f798f9a8dbe3be6f2181b38ef6c9292d79ce4623 Author: ssnf <ssnf@ssnf.xyz> Date: Fri, 6 Dec 2024 02:12:32 +0000 use abort() instead of trying to get a segmentation fault Diffstat:
M | sim.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sim.c b/sim.c @@ -160,7 +160,7 @@ die(char* fmt, ...) file_save(i); fprintf(stderr, "file saved to %s\n", file[i].name->s); } - *fmt = *(char*)NULL; + abort(); } void*