From 99d0d7b300a3810e1cd7af514eb810418f01accc Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Wed, 23 Jul 2003 01:45:47 +0000 Subject: getting HDAMA to build. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1005 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/buildrom/buildrom.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'util') diff --git a/util/buildrom/buildrom.c b/util/buildrom/buildrom.c index 44f0c44186..e2c2e7783e 100644 --- a/util/buildrom/buildrom.c +++ b/util/buildrom/buildrom.c @@ -55,8 +55,11 @@ main(int argc, char *argv[]) { if (fstat(infd, &inbuf) < 0) fatal("stat of infile"); - if (inbuf.st_size > size) - fatal("input file larger than allowed size!\n"); + if (inbuf.st_size > size) { + fprintf(stderr, "linuxbios image is %d bytes; only %d allowed\n", + inbuf.st_size, size); + fatal("Linuxbios input file larger than allowed size!\n"); + } if (fstat(payloadfd, &payloadbuf) < 0) fatal("stat of infile"); -- cgit v1.2.3