[PATCH] commands/tftp: use pr_debug for debug output
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Fri Mar 29 12:32:37 EDT 2013
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
use debug
Best Regards,
J.
More information about the barebox
mailing list