summaryrefslogtreecommitdiffstats
path: root/firmware/common/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/common/dir.c')
-rw-r--r--firmware/common/dir.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/common/dir.c b/firmware/common/dir.c
index 45749b8474..9a78d910a7 100644
--- a/firmware/common/dir.c
+++ b/firmware/common/dir.c
@@ -344,3 +344,9 @@ struct dirinfo dir_get_info(DIR *dirp, struct dirent *entry)
file_error:
return (struct dirinfo){ .attribute = 0 };
}
+
+const char* root_realpath(void)
+{
+ /* Native only, for APP and SIM see respective filesystem-.c files */
+ return root_get_realpath(); /* rb_namespace.c */
+}