diff options
| author | Nakidai <plaza521@inbox.ru> | 2024-07-05 07:16:05 +0300 |
|---|---|---|
| committer | Nakidai <plaza521@inbox.ru> | 2024-07-05 07:19:48 +0300 |
| commit | aea40f3877e36e95f2a70e3eeb0569fd156e3841 (patch) | |
| tree | e6bd202ac4e5499db3b9983fc46e3b880a20f5ff /src/utils.c | |
| parent | a9c159f5f7bf3479c3236735960597b4bc36a204 (diff) | |
| download | 3cl-aea40f3877e36e95f2a70e3eeb0569fd156e3841.tar.gz 3cl-aea40f3877e36e95f2a70e3eeb0569fd156e3841.zip | |
Add almost all
Only continue operation and "blocks" of code are left. Now I'm gonna sleep And yes, I understand that code need to be refactored, and if I will not get bored with writing this thing I will rewrite it in a better way, cuz now code is awful
Diffstat (limited to 'src/utils.c')
| -rw-r--r-- | src/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c index ee37110..978396c 100644 --- a/src/utils.c +++ b/src/utils.c @@ -14,10 +14,10 @@ noreturn void die(i32 code, s8 *fmt, ...) va_list args; fprintf(stderr, "%s: ", program_name); - va_start(args, fmt); vfprintf(stderr, fmt, args); va_end(args); + putc('\n', stderr); exit(code); } |