[PATCH] commands/tftp: use pr_debug for debug output

Sascha Hauer s.hauer at pengutronix.de
Sat Mar 30 06:50:13 EDT 2013


On Fri, Mar 29, 2013 at 05:32:37PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 16:08 Fri 29 Mar     , Hubert Feurstein wrote:
> > Signed-off-by: Hubert Feurstein <h.feurstein at gmail.com>
> > ---
> >  commands/tftp.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/commands/tftp.c b/commands/tftp.c
> > index 558b0ac..05d9d04 100644
> > --- a/commands/tftp.c
> > +++ b/commands/tftp.c
> > @@ -76,7 +76,7 @@ static int do_tftpb(int argc, char *argv[])
> >  	if (ret)
> >  		goto err_rmdir;
> >  
> > -	printk("%s: %s -> %s\n", __func__, source, dest);
> > +	pr_debug("%s: %s -> %s\n", __func__, source, dest);
> no pr_ is for device/driver not commands

Saying what he should use instead is probably very helpful.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list