From 0fd1611291983f8497ae1107575834c550a5f757 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Fri, 26 Oct 2012 08:52:36 +0200 Subject: ARM omap spi image: print error to stderr Since the utility outputs the image on stdout we have to print the error messages to stderr in order to see them. Signed-off-by: Sascha Hauer --- scripts/mk-am35xx-spi-image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/mk-am35xx-spi-image.c b/scripts/mk-am35xx-spi-image.c index 1372fbd152..74e79dbee1 100644 --- a/scripts/mk-am35xx-spi-image.c +++ b/scripts/mk-am35xx-spi-image.c @@ -96,7 +96,7 @@ int main(int argc, char *argv[]) exit(EXIT_FAILURE); } if (pos > 0x100000) { - printf("error: image should be smaller than 1 MiB\n"); + fprintf(stderr, "error: image should be smaller than 1 MiB\n"); exit(EXIT_FAILURE); } -- cgit v1.2.3