summaryrefslogtreecommitdiffstats
path: root/commands/md.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-04-11 11:06:07 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2016-04-15 12:21:45 +0200
commit4f17444eccebeeadeaed212568a202ef97f4e71f (patch)
treeb006ce0f54caf425510289408ed771c1276ac42f /commands/md.c
parentdb33f32842973245f0adcae2fb7fd23ec4325630 (diff)
downloadbarebox-4f17444eccebeeadeaed212568a202ef97f4e71f.tar.gz
barebox-4f17444eccebeeadeaed212568a202ef97f4e71f.tar.xz
libfile: move open_and_lseek() to libfile
libfile is a collection of helpers for handling files. open_and_lseek() is a perfect match for this, so move it there. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/md.c')
-rw-r--r--commands/md.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/md.c b/commands/md.c
index c88259a3f8..3e83c723a3 100644
--- a/commands/md.c
+++ b/commands/md.c
@@ -28,6 +28,7 @@
#include <malloc.h>
#include <errno.h>
#include <fs.h>
+#include <libfile.h>
#include <fcntl.h>
#include <getopt.h>
#include <linux/stat.h>