diff options
author | Raja Das <rajadas2@in.ibm.com> | 2018-10-02 23:29:19 -0500 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2018-10-03 05:41:15 -0500 |
commit | a273362351bf5ec03ccb25ebf1b66b94cbcfd645 (patch) | |
tree | 32c9c842d40725f6528cafe4f288cc6a117a2515 /src/tools | |
parent | 0297fe823ff63fc680f544059e6bbb4ecc4874ad (diff) | |
download | talos-sbe-a273362351bf5ec03ccb25ebf1b66b94cbcfd645.tar.gz talos-sbe-a273362351bf5ec03ccb25ebf1b66b94cbcfd645.zip |
Added newline termination after putting in build info into Hash
At the top of the hash generated file, the file/build info is
getting appended with the first hash line. Terminated the build
info with a newline termination.
Change-Id: Id002f2591e166f73703cb5a7121da1a7ac33a365
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66905
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src/tools')
-rwxr-xr-x | src/tools/trace/ppetracepp.C | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/trace/ppetracepp.C b/src/tools/trace/ppetracepp.C index 005d7b37..e4fc7580 100755 --- a/src/tools/trace/ppetracepp.C +++ b/src/tools/trace/ppetracepp.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER sbe Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2015,2016 */ +/* Contributors Listed Below - COPYRIGHT 2015,2018 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -921,7 +921,7 @@ if (!hashtab.empty()) time_t tt = time(NULL); sprintf(buf, "%s", asctime(localtime(&tt))); buf[strlen(buf)-1] = '\0'; // chop off extra newline - fprintf(TRC, "#FSP_TRACE_v2|||%s|||BUILD:%.120s", buf, pwd.c_str()); + fprintf(TRC, "#FSP_TRACE_v2|||%s|||BUILD:%.120s\n", buf, pwd.c_str()); string srch_str = "||"; srch_str += source; |