diff options
author | Ronald G. Minnich <rminnich@gmail.com> | 2003-07-23 01:45:47 +0000 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2003-07-23 01:45:47 +0000 |
commit | 99d0d7b300a3810e1cd7af514eb810418f01accc (patch) | |
tree | 09f2378a811b8a743dcd6e0fd1e1084fab29843f /util/buildrom | |
parent | ffc161e59a917036d6b31e147944f8b54b5b75ae (diff) | |
download | coreboot-99d0d7b300a3810e1cd7af514eb810418f01accc.tar.xz |
getting HDAMA to build.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1005 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/buildrom')
-rw-r--r-- | util/buildrom/buildrom.c | 7 |
1 files changed, 5 insertions, 2 deletions
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"); |