summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-02-11 14:42:09 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2012-02-17 10:27:15 +0100
commitec1d29e61c6d83d3d99bf8bd9ff5d2cee96460c1 (patch)
tree8c0536381596c46bef987edf11190bb613ecbfa5 /include
parent2c2fb6a9478aea297b9458c5c312a502eea060a6 (diff)
downloadbarebox-ec1d29e61c6d83d3d99bf8bd9ff5d2cee96460c1.tar.gz
barebox-ec1d29e61c6d83d3d99bf8bd9ff5d2cee96460c1.tar.xz
fs: Store mtab path in allocated string
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fs.h b/include/fs.h
index d31fb20522..f1a1931630 100644
--- a/include/fs.h
+++ b/include/fs.h
@@ -77,7 +77,7 @@ struct fs_driver_d {
};
struct mtab_entry {
- char path[PATH_MAX];
+ char *path;
struct device_d *dev;
struct device_d *parent_device;
struct list_head list;