Make error_str GNU_SOURCE compliant
This commit is contained in:
2 files changed
+2
-4
No files matched your search
+1
-2
@@ -65,8 +65,7 @@ static void err(const char *restrict msg) {
|
||||
}
|
||||
|
||||
void logmsgf(log_lvl_t level, const char *restrict format, ...) {
|
||||
char buf[256];
|
||||
char err_buf[64];
|
||||
char buf[256], err_buf[256];
|
||||
va_list args;
|
||||
va_start(args, format);
|
||||
|
||||
|
||||
Reference in new issue
Block a user