Skip to content

Commit 3f7ccdf

Browse files
authored
Merge pull request #21 from innogames/k_libfmt_10
Fix bugs when compilink with libfmt 10
2 parents 2991d3d + 546dfe1 commit 3f7ccdf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/pfctl_worker.cpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -131,19 +131,19 @@ message_queue *attach_pfctl_queue() {
131131
continue;
132132
} else {
133133
log(MessageType::MSG_INFO,
134-
fmt::sprintf("pfctl_worker: Interprocess Exception while "
135-
"waiting for queue %d",
136-
ex.get_error_code()));
134+
fmt::sprintf("pfctl_worker: Interprocess Exception %d "
135+
"while waiting for queue",
136+
int(ex.get_error_code())));
137137
}
138138
} catch (const runtime_error &ex) {
139139
// speciffic handling for runtime_error
140140
log(MessageType::MSG_INFO,
141-
fmt::sprintf("pfctl_worker: Exception while waiting for queue %s",
141+
fmt::sprintf("pfctl_worker: Exception %s while waiting for queue",
142142
ex.what()));
143143
} catch (const exception &ex) {
144144
// std::runtime_error which is handled explicitly
145145
log(MessageType::MSG_INFO,
146-
fmt::sprintf("pfctl_worker: Exception while waiting for queue %s",
146+
fmt::sprintf("pfctl_worker: Exception %s while waiting for queue",
147147
ex.what()));
148148
}
149149
break;

0 commit comments

Comments
 (0)