[Top] [All Lists]

Re: [PATCH] kill prom_printf

To: Geert Uytterhoeven <>
Subject: Re: [PATCH] kill prom_printf
From: "Maciej W. Rozycki" <>
Date: Tue, 17 Jun 2003 18:05:57 +0200 (MET DST)
Cc: Ladislav Michl <>, Juan Quintela <>, Linux/MIPS Development <>
In-reply-to: <>
Organization: Technical University of Gdansk
Original-recipient: rfc822;
On Tue, 17 Jun 2003, Geert Uytterhoeven wrote:

> >  So I can just call prom_printf("%s", string), right?  This would solve
> > this shortcoming. 
> More or less. The caveat is that console->write() is not called with a
> NULL-terminated string, but with a pointer and a length.

 Well, I can't remember if the DEC's printf() supports "%<width>s", but
even if it doesn't, we can use a helper local buffer.

+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+        e-mail:, PGP key available        +

<Prev in Thread] Current Thread [Next in Thread>