summaryrefslogtreecommitdiffstats
path: root/writefrudata.cpp
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-10-20 09:31:35 -0700
committerPatrick Venture <venture@google.com>2018-10-20 09:32:53 -0700
commit98072dcfe74a64f8ac5ae694de03d17ef974276e (patch)
tree32921dca5e2df93ed153b532b35c6d267a90a703 /writefrudata.cpp
parent32c4e36a8f7bb099f0718296e3f50744140345f3 (diff)
downloadipmi-fru-parser-98072dcfe74a64f8ac5ae694de03d17ef974276e.tar.gz
ipmi-fru-parser-98072dcfe74a64f8ac5ae694de03d17ef974276e.zip
style: apply naming convention to ipmi_validate_fru_area
Apply openbmc style naming convention to ipmi_validate_fru_area as part of a multi-step cleanup process. Change-Id: I082189030441e57579d072501279ff698fe1b7e3 Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'writefrudata.cpp')
-rw-r--r--writefrudata.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/writefrudata.cpp b/writefrudata.cpp
index 704df12..84d7527 100644
--- a/writefrudata.cpp
+++ b/writefrudata.cpp
@@ -581,8 +581,8 @@ int cleanup_error(FILE* fru_fp, fru_area_vec_t& fru_area_vec)
///-----------------------------------------------------
// Accepts the filename and validates per IPMI FRU spec
//----------------------------------------------------
-int ipmi_validate_fru_area(const uint8_t fruid, const char* fru_file_name,
- sd_bus* bus_type, const bool bmc_fru)
+int validateFRUArea(const uint8_t fruid, const char* fru_file_name,
+ sd_bus* bus_type, const bool bmc_fru)
{
size_t data_len = 0;
size_t bytes_read = 0;
OpenPOWER on IntegriCloud