Remove un-needed printf about esel
Fills up the journal when the host is sending down
multiple and/or large esel's
Change-Id: If74afe448d9211c798a1ffd70bfe7cd57d063f6c
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
diff --git a/oemhandler.cpp b/oemhandler.cpp
index 013bf94..91bf2b7 100644
--- a/oemhandler.cpp
+++ b/oemhandler.cpp
@@ -48,7 +48,7 @@
printf("Used Reservation ID = %d\n", used_res_id);
rc = IPMI_CC_INVALID_RESERVATION_ID;
- // clean g_esel_path.
+ // clean g_esel_path.
r = remove(g_esel_path);
if(r < 0)
fprintf(stderr, "Error deleting %s\n", g_esel_path);
@@ -65,9 +65,6 @@
rlen = (*data_len) - (uint8_t) (sizeof(esel_request_t));
- printf("IPMI PARTIAL ESEL for %s Offset = %d Length = %d\n",
- g_esel_path, esel_req.offset, rlen);
-
if ((fp = fopen(g_esel_path, pio)) != NULL) {
fseek(fp, esel_req.offset, SEEK_SET);
fwrite(reqptr+(uint8_t) (sizeof(esel_request_t)), rlen, 1, fp);
@@ -116,7 +113,7 @@
rc = WEXITSTATUS(rc);
if (rc != 0) {
fprintf(stderr, "fw_setenv openbmconce failed with rc=%d\n", rc);
- return IPMI_CC_UNSPECIFIED_ERROR;
+ return IPMI_CC_UNSPECIFIED_ERROR;
}
// Touch the image-rwfs file to perform an empty update to force the save