Port-amiga archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: wrong variable in toccata.c
On Wed, Mar 27, 2002 at 03:53:18AM +0100, Klaus Heinz wrote:
> Hi,
>
> compiling a GENERIC kernel with 'options DEBUG' showed an error in
> amiga/dev/toccata.c.
>
> Is the attached patch ok ? I don't know whether sc_dev.dv_xname (char [16])
> is supposed to be a real string with \0.
>
> ciao
> Klaus
>
>
> --- toccata.c Wed Mar 27 03:50:45 2002
> +++ toccata.c_new Wed Mar 27 03:50:38 2002
> @@ -338,7 +338,8 @@
> * FIFO interupt.
> */
> #ifdef DEBUG
> - printf("%s: got unexpected interupt %x\n", sc->sc_ad.sc_dev, status);
> + printf("%s: got unexpected interupt %x\n", sc->sc_ad.sc_dev.dv_xname,
> + status);
> #endif
> *sc->sc_boardp = TOCC_ACT;
> return 1;
Yes, this is correct. Please fix it.
Regards,
-is
Home |
Main Index |
Thread Index |
Old Index