summaryrefslogtreecommitdiffstats
path: root/firmware/target/hosted/rolo.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/hosted/rolo.c')
-rw-r--r--firmware/target/hosted/rolo.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/target/hosted/rolo.c b/firmware/target/hosted/rolo.c
index dfe483c964..87b7340198 100644
--- a/firmware/target/hosted/rolo.c
+++ b/firmware/target/hosted/rolo.c
@@ -33,6 +33,7 @@
#include "storage.h"
#include "rolo.h"
#include "rbpaths.h"
+#include "pathfuncs.h"
//#define LOGF_ENABLE
#include "logf.h"
@@ -94,9 +95,9 @@ int rolo_load(const char* filename)
logf("system: %s", buf);
system(buf);
- snprintf(buf, sizeof(buf), "%s/%s", EXECDIR, BOOTFILE);
+ path_append(buf, EXECDIR, BOOTFILE, sizeof(buf));
#else
- snprintf(buf, sizeof(buf), "%s/%s", EXECDIR, filename);
+ path_append(buf, EXECDIR, filename, sizeof(buf));
#endif
logf("execl: %s", buf);