summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/import/chips/p9/xip/p9_xip_image.h4
-rw-r--r--src/import/chips/p9/xip/p9_xip_tool.C2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/import/chips/p9/xip/p9_xip_image.h b/src/import/chips/p9/xip/p9_xip_image.h
index 9b139b98..7947b97f 100644
--- a/src/import/chips/p9/xip/p9_xip_image.h
+++ b/src/import/chips/p9/xip/p9_xip_image.h
@@ -404,10 +404,10 @@ typedef struct
/// The size of the image (including padding) in bytes
uint32_t iv_imageSize;
- /// Build date generated by `date +%Y%m%d`, e.g., 20110630
+ /// Build date generated in yyyymmdd format, e.g., 20110630
uint32_t iv_buildDate;
- /// Build time generated by `date +%H%M`, e.g., 0756
+ /// Build time generated in hhmm format, e.g., 0756
uint32_t iv_buildTime;
/// Build tag, generated when releasing this image to fw
diff --git a/src/import/chips/p9/xip/p9_xip_tool.C b/src/import/chips/p9/xip/p9_xip_tool.C
index eb245ed7..71c35c66 100644
--- a/src/import/chips/p9/xip/p9_xip_tool.C
+++ b/src/import/chips/p9/xip/p9_xip_tool.C
@@ -820,7 +820,7 @@ set(void* io_image, const int i_argc, const char** i_argv, int i_setv)
// We need to do a bit of preprocessing on the string to
// determine its format and set the base for strtoull(),
// otherwise strtoull() will be confused by leading zeros
- // e.g. in time strings generated by `date +%H%M`, and try to
+ // e.g. in time strings generated in hhmm format and try to
// process the string as octal.
if ((strlen(value) >= 2) && (value[0] == '0') &&
OpenPOWER on IntegriCloud