$NetBSD: patch-aa,v 1.2 2009/02/10 12:49:56 abs Exp $ --- fix4SA110rev2.c.orig 2009-02-10 12:46:34.000000000 +0000 +++ fix4SA110rev2.c @@ -79,8 +79,8 @@ */ #include -#include #include +#include /* All programs are loaded at this base address. */ #define LOAD_ADDR 0x1000 @@ -100,7 +100,7 @@ int fixcount = 0; static void usage(void) { - fprintf(stderr, "Usage: findbad \n"); + fprintf(stderr, "Usage: fix4SA110rev2 \n"); } fix *newfix(unsigned long where, unsigned long inst) @@ -240,8 +240,7 @@ space for instructions that do not appear elsewhere, and for the ldr pc hackery. */ if (fixcount > i - 1) - fprintf(stderr, "Insufficient space for patch instructions (need %d -words)\n", fixcount); + fprintf(stderr, "Insufficient space for patch instructions (need %d words)\n", fixcount); if ((out = fopen(argv[2], "w")) == NULL) {