general: Convert assertion macros over to be fmt-compatible

This commit is contained in:
Lioncash
2018-04-27 07:54:05 -04:00
parent 3c40496409
commit 8475496630
17 changed files with 39 additions and 39 deletions

View File

@ -39,8 +39,8 @@ Module::Module() {
}
u32 Module::Open(std::string device_name) {
ASSERT_MSG(devices.find(device_name) != devices.end(), "Trying to open unknown device %s",
device_name.c_str());
ASSERT_MSG(devices.find(device_name) != devices.end(), "Trying to open unknown device {}",
device_name);
auto device = devices[device_name];
u32 fd = next_fd++;