diff options
author | Thi Tran <thi@us.ibm.com> | 2014-01-29 11:17:14 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-02-06 13:07:43 -0600 |
commit | ea9a0fe2d3c69ed2d0b6b7b69493caf727db5d6f (patch) | |
tree | a3ff2d2706d2c049f8f4e0facfcc475a39ea2ed9 /src/usr/hwpf/hwp/dmi_training | |
parent | fa7ce559605c11105889f40af3b71d6c73e3957f (diff) | |
download | blackbird-hostboot-ea9a0fe2d3c69ed2d0b6b7b69493caf727db5d6f.tar.gz blackbird-hostboot-ea9a0fe2d3c69ed2d0b6b7b69493caf727db5d6f.zip |
INITPROC: Hostboot SW243182 Downlevel procedures
Change-Id: Iac310d19413649f6b172e3bde98ab73ceb2ac25b
CQ:SW243182
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/8430
Tested-by: Jenkins Server
Reviewed-by: Thi N. Tran <thi@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/hwp/dmi_training')
-rw-r--r-- | src/usr/hwpf/hwp/dmi_training/mss_getecid/mss_get_cen_ecid_decode.C | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/usr/hwpf/hwp/dmi_training/mss_getecid/mss_get_cen_ecid_decode.C b/src/usr/hwpf/hwp/dmi_training/mss_getecid/mss_get_cen_ecid_decode.C index 2d83f9854..8e90d6159 100644 --- a/src/usr/hwpf/hwp/dmi_training/mss_getecid/mss_get_cen_ecid_decode.C +++ b/src/usr/hwpf/hwp/dmi_training/mss_getecid/mss_get_cen_ecid_decode.C @@ -5,7 +5,7 @@ /* */ /* IBM CONFIDENTIAL */ /* */ -/* COPYRIGHT International Business Machines Corp. 2013 */ +/* COPYRIGHT International Business Machines Corp. 2013,2014 */ /* */ /* p1 */ /* */ @@ -20,7 +20,7 @@ /* Origin: 30 */ /* */ /* IBM_PROLOG_END_TAG */ -// $Id: mss_get_cen_ecid_decode.C,v 1.6 2013/10/07 11:42:06 bellows Exp $ +// $Id: mss_get_cen_ecid_decode.C,v 1.8 2013/10/14 16:22:30 bellows Exp $ //------------------------------------------------------------------------------ // *| // *! (C) Copyright International Business Machines Corp. 2013 @@ -39,6 +39,8 @@ //------------------------------------------------------------------------------ // Version:| Author: | Date: | Comment: //---------|----------|---------|----------------------------------------------- +// 1.8 | bellows |14-OCT-13| One more sprintf update to make this hostboot/cronus agnostic +// 1.7 | bellows |08-OCT-13| Made update so it compiles with cronus + hostboot // 1.6 | thi |05-OCT-13| Fix compiler error // 1.5 | bellows |02-OCT-13| Minor Review Comments addressed // 1.4 | bellows |27-SEP-13| Removed std::string @@ -131,9 +133,9 @@ extern "C" { if(!(i_user_info.i_user_defined & CSV)) { - sprintf(temp_string, "ECID(1:64) 0x%016lx\n", i_user_info.io_ecid[0]); + sprintf(temp_string, "ECID(1:64) 0x%016llx\n", static_cast<unsigned long long int>(i_user_info.io_ecid[0])); strcat(o_display_string, temp_string); - sprintf(temp_string, "ECID(65:128) 0x%016lx\n", i_user_info.io_ecid[1]); + sprintf(temp_string, "ECID(65:128) 0x%016llx\n", static_cast<unsigned long long int>(i_user_info.io_ecid[1])); strcat(o_display_string, temp_string); sprintf(temp_string, " Wafer ID: %s\n", ECID); strcat(o_display_string, temp_string); |