if (GetModuleFileNameA(hModule, buffer, sizeof buffer) == sizeof buffer) {
return FALSE;
}
- util_snprintf(buf, size, "%p at %s+0x%lx",
- addr, buffer,
- (unsigned long)((uintptr_t)addr - (uintptr_t)hModule));
+ snprintf(buf, size, "%p at %s+0x%lx",
+ addr, buffer,
+ (unsigned long)((uintptr_t)addr - (uintptr_t)hModule));
return TRUE;
}
}
if (Line.FileName) {
- util_snprintf(buf, size, "%s at %s:%lu", pSymbol->Name, Line.FileName, Line.LineNumber);
+ snprintf(buf, size, "%s at %s:%lu", pSymbol->Name, Line.FileName, Line.LineNumber);
} else {
- util_snprintf(buf, size, "%s", pSymbol->Name);
+ snprintf(buf, size, "%s", pSymbol->Name);
}
return TRUE;
}
#endif /* defined(HAVE_EXECINFO_H) */
- util_snprintf(buf, size, "%p", addr);
+ snprintf(buf, size, "%p", addr);
buf[size - 1] = 0;
}