From e5f064f8bf58c49a1e9caaf8d35edb0cbf05fde3 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Mon, 10 Sep 2018 10:59:54 +0200 Subject: fs: tftp: Use pr_debug for errors This has been debug output before for good reasons. The users will usually print the error messages when they want to. Signed-off-by: Sascha Hauer --- fs/tftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/tftp.c b/fs/tftp.c index 30256ada6e..0d9ee6effd 100644 --- a/fs/tftp.c +++ b/fs/tftp.c @@ -346,7 +346,7 @@ static void tftp_recv(struct file_priv *priv, break; case TFTP_ERROR: - pr_err("error: '%s' (%d)\n", pkt + 2, ntohs(*(uint16_t *)pkt)); + pr_debug("error: '%s' (%d)\n", pkt + 2, ntohs(*(uint16_t *)pkt)); switch (ntohs(*(uint16_t *)pkt)) { case 1: priv->err = -ENOENT; -- cgit v1.2.3