[PATCH 2/3] fixup! tftp: detect out-of-memory situations
Enrico Scholz
enrico.scholz at sigma-chemnitz.de
Mon Sep 5 01:56:57 PDT 2022
minor typo fix
Signed-off-by: Enrico Scholz <enrico.scholz at sigma-chemnitz.de>
---
fs/tftp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/tftp.c b/fs/tftp.c
index a3fe7dfd590e..9a3753e50e37 100644
--- a/fs/tftp.c
+++ b/fs/tftp.c
@@ -591,7 +591,7 @@ static void tftp_put_data(struct file_priv *priv, uint16_t block,
sz = kfifo_put(priv->fifo, pkt, len);
if (sz != len) {
- pr_err("tftp: not enough room in kfifo (only %u out of %zu written\n",
+ pr_err("tftp: not enough room in kfifo (only %u out of %zu written)\n",
sz, len);
priv->err = -ENOMEM;
priv->state = STATE_DONE;
--
2.37.2
More information about the barebox
mailing list