Update ggml/src/ggml.c

Co-authored-by: slaren <slarengh@gmail.com>
This commit is contained in:
l3utterfly 2024-07-29 22:43:34 +09:00 committed by GitHub
parent 45b6b799b6
commit 687f8fdecb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -174,8 +174,8 @@ static void ggml_print_backtrace_symbols(void) {
int count = state.current - buffer; int count = state.current - buffer;
for (int idx = 0; idx < count; ++idx) { for (int idx = 0; idx < count; ++idx) {
const void* addr = buffer[idx]; const void * addr = buffer[idx];
const char* symbol = ""; const char * symbol = "";
Dl_info info; Dl_info info;
if (dladdr(addr, &info) && info.dli_sname) { if (dladdr(addr, &info) && info.dli_sname) {