summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMichael Tretter <m.tretter@pengutronix.de>2019-09-04 14:24:04 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-09-06 09:13:51 +0200
commit59cca4148316026c6b5c2145cc316392fd4c29d7 (patch)
treed34124b206f60b3d576b6d6c4549443a5032a810 /lib
parent59e81b6edd48d49030033a2bc46e584c9868f3ad (diff)
downloadbarebox-59cca4148316026c6b5c2145cc316392fd4c29d7.tar.gz
barebox-59cca4148316026c6b5c2145cc316392fd4c29d7.tar.xz
libfile: fix typos
Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/libfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libfile.c b/lib/libfile.c
index f6c588d737..3f3ec21fdb 100644
--- a/lib/libfile.c
+++ b/lib/libfile.c
@@ -242,9 +242,9 @@ EXPORT_SYMBOL(read_file_2);
*
* This function reads a file to an allocated buffer.
* Some TFTP servers do not transfer the size of a file. In this case
- * a the file is first read to a temporary file.
+ * the file is first read to a temporary file.
*
- * Return: The buffer conataining the file or NULL on failure
+ * Return: The buffer containing the file or NULL on failure
*/
void *read_file(const char *filename, size_t *size)
{