[PATCHv3 3/3] serve_image: adjust classifier and type for printf

Mike Frysinger vapier.adi at gmail.com
Tue Apr 19 10:26:53 EDT 2011


On Tue, Apr 19, 2011 at 04:34, Andy Shevchenko wrote:
> -               fprintf(stderr, "Image size %ld bytes is not a multiple of erasesize %d bytes\n",
> -                       st.st_size, erasesize);
> +               fprintf(stderr, "Image size %" PRIu64 " bytes is not a multiple of "
> +                               "erasesize %d bytes\n", st.st_size, erasesize);

i think we want to avoid splitting string constants
-mike



More information about the linux-mtd mailing list