ref: 6e5a28226b0c6ce33f3a8df32c028b1f89b9ca00
parent: 032e698f463251b61e56fc361184a5c6a58f3ef0
author: Ben10do <[email protected]>
date: Thu Apr 6 04:02:28 EDT 2017
Include object file version in error message When an unsupported object file version is encountered, the version number is now printed in the displayed error message.
--- a/src/link/object.c
+++ b/src/link/object.c
@@ -294,7 +294,7 @@
obj_ReadRGB(pObjfile);
break;
default:
- errx(1, "'%s' uses an unsupported object file version. Please reassemble it.", tzObjectfile);
+ errx(1, "'%s' uses an unsupported object file version (%s). Please reassemble it.", tzObjectfile, tzHeader);
}
} else {
errx(1, "'%s' is not a valid object", tzObjectfile);