summaryrefslogtreecommitdiffstats
path: root/softoff/mainapp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'softoff/mainapp.cpp')
-rw-r--r--softoff/mainapp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/softoff/mainapp.cpp b/softoff/mainapp.cpp
index c6c1858..3a47cc4 100644
--- a/softoff/mainapp.cpp
+++ b/softoff/mainapp.cpp
@@ -41,7 +41,7 @@ int main(int argc, char** argv)
if (r < 0)
{
log<level::ERR>("Failure to create sd_event handler",
- entry("ERROR=%s", strerror(-r)));
+ entry("ERRNO=0x%X", -r));
return -1;
}
@@ -65,7 +65,7 @@ int main(int argc, char** argv)
if (r < 0)
{
log<level::ERR>("Failure in processing request",
- entry("ERROR=%s", strerror(-r)));
+ entry("ERRNO=0x%X", -r));
return -1;
}
}
OpenPOWER on IntegriCloud