summaryrefslogtreecommitdiffstats
path: root/callouts/callout_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'callouts/callout_test.cpp')
-rw-r--r--callouts/callout_test.cpp18
1 files changed, 8 insertions, 10 deletions
diff --git a/callouts/callout_test.cpp b/callouts/callout_test.cpp
index 2eff6a0..729bbf5 100644
--- a/callouts/callout_test.cpp
+++ b/callouts/callout_test.cpp
@@ -1,14 +1,15 @@
+#include "elog_meta.hpp"
+
#include <iostream>
-#include <sdbusplus/exception.hpp>
-#include <phosphor-logging/elog.hpp>
#include <phosphor-logging/elog-errors.hpp>
-#include "elog_meta.hpp"
+#include <phosphor-logging/elog.hpp>
+#include <sdbusplus/exception.hpp>
using namespace phosphor::logging;
int main(int argc, char** argv)
{
- if(2 != argc)
+ if (2 != argc)
{
std::cerr << "usage: callout-test <sysfs path>" << std::endl;
return -1;
@@ -17,10 +18,9 @@ int main(int argc, char** argv)
using namespace example::xyz::openbmc_project::Example::Elog;
try
{
- elog<TestCallout>(
- TestCallout::DEV_ADDR(0xDEADEAD),
- TestCallout::CALLOUT_ERRNO_TEST(0),
- TestCallout::CALLOUT_DEVICE_PATH_TEST(argv[1]));
+ elog<TestCallout>(TestCallout::DEV_ADDR(0xDEADEAD),
+ TestCallout::CALLOUT_ERRNO_TEST(0),
+ TestCallout::CALLOUT_DEVICE_PATH_TEST(argv[1]));
}
catch (TestCallout& e)
{
@@ -29,5 +29,3 @@ int main(int argc, char** argv)
return 0;
}
-
-
OpenPOWER on IntegriCloud