summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2018-09-10 10:59:54 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2018-09-10 10:59:56 +0200
commite5f064f8bf58c49a1e9caaf8d35edb0cbf05fde3 (patch)
tree47a3ab174a9d6e39b13171fb7b14929c5e0dadff
parente3e55fa3aa698bb92fa4362a36e102749c13c124 (diff)
downloadbarebox-e5f064f8bf58c49a1e9caaf8d35edb0cbf05fde3.tar.gz
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 <s.hauer@pengutronix.de>
-rw-r--r--fs/tftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/tftp.c b/fs/tftp.c
index 30256ad..0d9ee6e 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;