Message ID | 1466739048-25561-1-git-send-email-stewart@linux.vnet.ibm.com |
---|---|
State | Accepted |
Headers | show |
diff --git a/external/xscom-utils/getscom.c b/external/xscom-utils/getscom.c index 30afab7eda10..e6eb54de1690 100644 --- a/external/xscom-utils/getscom.c +++ b/external/xscom-utils/getscom.c @@ -144,7 +144,7 @@ int main(int argc, char *argv[]) fprintf(stderr,"Error %d reading XSCOM\n", rc); exit(1); } - printf("%" PRIx64 "\n", val); + printf("%016" PRIx64 "\n", val); return 0; } diff --git a/external/xscom-utils/putscom.c b/external/xscom-utils/putscom.c index 116fef4b1c54..01a71c62f682 100644 --- a/external/xscom-utils/putscom.c +++ b/external/xscom-utils/putscom.c @@ -97,7 +97,7 @@ int main(int argc, char *argv[]) fprintf(stderr,"Error %d reading XSCOM\n", rc); exit(1); } - printf("%" PRIx64 "\n", val); + printf("%016" PRIx64 "\n", val); return 0; }
Suggested-by: Daniel M Crowell <dcrowell@us.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com> --- external/xscom-utils/getscom.c | 2 +- external/xscom-utils/putscom.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)