diff options
Diffstat (limited to 'softoff/softoff.cpp')
-rw-r--r-- | softoff/softoff.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/softoff/softoff.cpp b/softoff/softoff.cpp index 4a3166c..f76cd4f 100644 --- a/softoff/softoff.cpp +++ b/softoff/softoff.cpp @@ -81,7 +81,7 @@ void SoftPowerOff::hostControlEvent(sdbusplus::message::message& msg) if (r < 0) { log<level::ERR>("Failure to start Host shutdown wait timer", - entry("ERROR=%s", strerror(-r))); + entry("ERRNO=0x%X", -r)); } else { @@ -120,7 +120,7 @@ auto SoftPowerOff::responseReceived(HostResponse response) -> HostResponse if (r < 0) { log<level::ERR>("Failure to STOP the timer", - entry("ERROR=%s", strerror(-r))); + entry("ERRNO=0x%X", -r)); } // This marks the completion of soft power off sequence. |