chore: Better errno formatting in logs.

This commit is contained in:
Peter Johanson 2024-09-19 01:15:13 -06:00
parent 6ae07d222a
commit 1baf18d671
1 changed files with 2 additions and 2 deletions

View File

@ -175,13 +175,13 @@ zmk_studio_Response save_changes(const zmk_studio_Request *req) {
int ret = zmk_physical_layouts_save_selected();
if (ret < 0) {
LOG_WRN("Failed to save selected physical layout (0x%02x)", ret);
LOG_WRN("Failed to save selected physical layout (%d)", ret);
return ZMK_RPC_SIMPLE_ERR(GENERIC);
}
ret = zmk_keymap_save_changes();
if (ret < 0) {
LOG_WRN("Failed to save keymap changes (0x%02x)", ret);
LOG_WRN("Failed to save keymap changes (%d)", ret);
return ZMK_RPC_SIMPLE_ERR(GENERIC);
}