diff options
Diffstat (limited to 'phosphor-rsyslog-config/main.cpp')
-rw-r--r-- | phosphor-rsyslog-config/main.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/phosphor-rsyslog-config/main.cpp b/phosphor-rsyslog-config/main.cpp index 3e4d928..ea0ca03 100644 --- a/phosphor-rsyslog-config/main.cpp +++ b/phosphor-rsyslog-config/main.cpp @@ -1,19 +1,19 @@ #include "config.h" + #include "server-conf.hpp" + #include <sdbusplus/bus.hpp> -int main(int argc, char *argv[]) +int main(int argc, char* argv[]) { auto bus = sdbusplus::bus::new_default(); - phosphor::rsyslog_config::Server - serverConf(bus, - BUSPATH_REMOTE_LOGGING_CONFIG, - RSYSLOG_SERVER_CONFIG_FILE); + phosphor::rsyslog_config::Server serverConf( + bus, BUSPATH_REMOTE_LOGGING_CONFIG, RSYSLOG_SERVER_CONFIG_FILE); bus.request_name(BUSNAME_SYSLOG_CONFIG); - while(true) + while (true) { bus.process_discard(); bus.wait(); |