ref: bdbe63d89011ff5b87a91efa8e8a7880c286866e
parent: f892d705f7ea448c9d36c7d1f1f41ff26ce86ede
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Jan 4 09:19:04 EST 2015
Improve myrbuild error message.
--- a/myrbuild/myrbuild.c
+++ b/myrbuild/myrbuild.c
@@ -251,7 +251,7 @@
ndeps = 0;
use = openlib(lib);
if (fgetc(use) != 'U')
- fail(1, "library \"%s\" is not a usefile.\n", lib);
+ fail(1, "library \"%s\" has corrupt or invalid usefile.\n", lib);
/* we don't care about the usefile's name */
free(rdstr(use));
while (fgetc(use) == 'L') {