summaryrefslogtreecommitdiffstats
path: root/include/uimagefs.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2018-01-22 11:17:59 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2018-01-25 08:43:16 +0100
commit4c3ea0d3355a965b58116f289a6b1214cc66a739 (patch)
treea1f358757782d4857d2a54711199ff036bfdbe52 /include/uimagefs.h
parent0f31aec6dfbe756d900fcf20c5bf0368e56bf771 (diff)
downloadbarebox-4c3ea0d3355a965b58116f289a6b1214cc66a739.tar.gz
barebox-4c3ea0d3355a965b58116f289a6b1214cc66a739.tar.xz
fs/uimagefs: Use is_tftp_fs() and cache_file() to ease TFTP workaround
We have helper functions now to ease file caching when a file is on TFTP. Use them. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/uimagefs.h')
-rw-r--r--include/uimagefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uimagefs.h b/include/uimagefs.h
index 81b32310ad..3f58589b73 100644
--- a/include/uimagefs.h
+++ b/include/uimagefs.h
@@ -45,7 +45,7 @@ struct uimagefs_handle {
struct image_header header;
int nb_data_entries;
char *filename;
- char *tmp;
+ char *copy;
struct list_head list;
};