summaryrefslogtreecommitdiffstatshomepage
path: root/src/build/file2str.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/build/file2str.py')
-rw-r--r--src/build/file2str.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build/file2str.py b/src/build/file2str.py
index b23c16618af..2b420eef339 100644
--- a/src/build/file2str.py
+++ b/src/build/file2str.py
@@ -26,7 +26,7 @@ else:
try:
myfile = open(srcfile, 'rb')
except IOError:
- print("Unable to open source file '%s'" % srcfile)
+ sys.stderr.write("Unable to open source file '%s'\n" % srcfile)
sys.exit(-1)
byteCount = os.path.getsize(srcfile)
@@ -56,5 +56,5 @@ try:
dst.write('\n};\n')
dst.close()
except IOError:
- print("Unable to open output file '%s'" % dstfile)
+ sys.stderr.write("Unable to open output file '%s'\n" % dstfile)
sys.exit(-1)