Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2646b0da authored by Chris Manton's avatar Chris Manton
Browse files

Fix gatt_disconnection_reason_text

Requires c-printf output

Bug: 163134718
Tag: #refactor
Test: gd/cert/run

Change-Id: I55141d8cbb8c105fd431d55b3e60015f34d7ec4b
parent 89d7e1d6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -229,7 +229,7 @@ inline std::string gatt_disconnection_reason_text(
    CASE_RETURN_TEXT(GATT_CONN_FAILED_ESTABLISHMENT);
    CASE_RETURN_TEXT(BTA_GATT_CONN_NONE);
    default:
      return std::string("UNKNOWN[%hu]", reason);
      return base::StringPrintf("UNKNOWN[%hu]", reason);
  }
}
#undef CASE_RETURN_TEXT