diff options
author | Patrick Venture <venture@google.com> | 2018-09-10 15:53:14 -0700 |
---|---|---|
committer | Patrick Venture <venture@google.com> | 2018-09-25 10:08:28 -0700 |
commit | b51bf9c8815dae7ae3765158df8e69148539182d (patch) | |
tree | a7b6f9a7b7a99230ce630222882313e184d2781c /groupext.cpp | |
parent | 3a5071a9256ded54366494e161045db73b2d7a92 (diff) | |
download | phosphor-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.cpp | 4 |
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; |