From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Korsgaard Date: Tue, 02 Dec 2008 21:05:41 +0100 Subject: [U-Boot] [PATCH] tools/mkimage: use lseek rather than fstat for file size for -l option In-Reply-To: <9d133f60812012348o663f24d5g774dbceaa71a0e66@mail.gmail.com> (Thomas De Schampheleire's message of "Tue\, 2 Dec 2008 08\:48\:32 +0100") References: <1228148597-22359-1-git-send-email-jacmet@sunsite.dk> <1228148597-22359-2-git-send-email-jacmet@sunsite.dk> <9d133f60812012348o663f24d5g774dbceaa71a0e66@mail.gmail.com> Message-ID: <87vdu2tka2.fsf@macbook.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de >>>>> "Thomas" == Thomas De Schampheleire writes: Thomas> I'd change the error message as well, to be independent of the tool Thomas> used to get the file size. For example: Thomas> fprintf (stderr, "%s: Can't get size of %s: %s\n", Ahh yes, good idea.