diff options
Diffstat (limited to 'softoff/mainapp.cpp')
-rw-r--r-- | softoff/mainapp.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/softoff/mainapp.cpp b/softoff/mainapp.cpp index a974ed7..38b6984 100644 --- a/softoff/mainapp.cpp +++ b/softoff/mainapp.cpp @@ -13,9 +13,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +#include <phosphor-logging/log.hpp> #include "softoff.hpp" #include "config.h" +using namespace phosphor::logging; + int main(int argc, char** argv) { // Get a handle to system dbus. @@ -25,7 +28,7 @@ int main(int argc, char** argv) sdbusplus::server::manager::manager(bus, SOFTOFF_OBJPATH); // Create the SoftPowerOff object. - phosphor::ipmi::SoftPowerOff obj(bus, SOFTOFF_OBJPATH); + phosphor::ipmi::SoftPowerOff object(bus, SOFTOFF_OBJPATH); /** @brief Claim the bus */ bus.request_name(SOFTOFF_BUSNAME); |