Replace debug(1) with FLOGF(warning)

This commit is contained in:
Fabian Homborg
2020-01-19 13:38:47 +01:00
parent 384f18a51c
commit 024e03ab1e
15 changed files with 49 additions and 45 deletions

View File

@@ -291,7 +291,7 @@ void parser_t::emit_profiling(const char *path) const {
// dying (and hence will not fork).
FILE *f = fopen(path, "w");
if (!f) {
debug(1, _(L"Could not write profiling information to file '%s'"), path);
FLOGF(warning, _(L"Could not write profiling information to file '%s'"), path);
} else {
if (std::fwprintf(f, _(L"Time\tSum\tCommand\n"), profile_items.size()) < 0) {
wperror(L"fwprintf");