diff options
Diffstat (limited to 'src/build/linker/genlist.C')
-rw-r--r-- | src/build/linker/genlist.C | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/build/linker/genlist.C b/src/build/linker/genlist.C index 69b52a1cc..053f7aaa2 100644 --- a/src/build/linker/genlist.C +++ b/src/build/linker/genlist.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2013,2014 */ +/* Contributors Listed Below - COPYRIGHT 2013,2015 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -109,7 +111,7 @@ int main(int argc, char** argv) g_crossPrefix = getenv("CROSS_PREFIX"); if (NULL == g_crossPrefix) { - printf("Environment variable CROSS_PREFIX not set.\n"); + fprintf(stderr, "Environment variable CROSS_PREFIX not set.\n"); exit(-1); } g_crossPrefix = strdup(g_crossPrefix); @@ -155,7 +157,7 @@ int main(int argc, char** argv) void print_usage() { - printf("genlist <image>\n"); + fprintf(stderr, "genlist <image>\n"); exit(-1); } @@ -176,7 +178,7 @@ void parse_modinfo_file(const string& i_image) FILE* modinfo_file = fopen(modinfo_name.c_str(), "r"); if (NULL == modinfo_file) { - printf("Unable to open modinfo file.\n"); + fprintf(stderr, "Unable to open modinfo file.\n"); exit(-1); } @@ -217,7 +219,7 @@ void parse_syms_file(const string& i_image) FILE* syms_file = fopen(syms_name.c_str(), "r"); if (NULL == syms_file) { - printf("Unable to open syms file.\n"); + fprintf(stderr, "Unable to open syms file.\n"); exit(-1); } |