summaryrefslogtreecommitdiffstats
path: root/groupext.cpp
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-09-10 15:53:14 -0700
committerPatrick Venture <venture@google.com>2018-09-25 10:08:28 -0700
commitb51bf9c8815dae7ae3765158df8e69148539182d (patch)
treea7b6f9a7b7a99230ce630222882313e184d2781c /groupext.cpp
parent3a5071a9256ded54366494e161045db73b2d7a92 (diff)
downloadphosphor-host-ipmid-b51bf9c8815dae7ae3765158df8e69148539182d.tar.gz
phosphor-host-ipmid-b51bf9c8815dae7ae3765158df8e69148539182d.zip
add std namespace prefix to common methods
Standard clib methods should be explicitly grabbed from the standard namespace. Change-Id: I8bcfcb260a99180d535ec8102c1a24c318cbc209 Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'groupext.cpp')
-rw-r--r--groupext.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/groupext.cpp b/groupext.cpp
index c69d910..43656cd 100644
--- a/groupext.cpp
+++ b/groupext.cpp
@@ -2,6 +2,8 @@
#include <host-ipmid/ipmid-api.h>
+#include <cstdio>
+
#define GRPEXT_GET_GROUP_CMD 0
void register_netfn_groupext_functions() __attribute__((constructor));
@@ -13,7 +15,7 @@ ipmi_ret_t ipmi_groupext(ipmi_netfn_t netfn, ipmi_cmd_t cmd,
ipmi_ret_t rc = IPMI_CC_OK;
uint8_t* p = (uint8_t*)response;
- printf("IPMI GROUP EXTENSIONS\n");
+ std::printf("IPMI GROUP EXTENSIONS\n");
*data_len = 1;
*p = 0;
OpenPOWER on IntegriCloud