summaryrefslogtreecommitdiff
path: root/trans
diff options
context:
space:
mode:
Diffstat (limited to 'trans')
-rw-r--r--trans/firmlink.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/trans/firmlink.c b/trans/firmlink.c
index 69d4aaed..19382f10 100644
--- a/trans/firmlink.c
+++ b/trans/firmlink.c
@@ -286,3 +286,11 @@ trivfs_S_io_select_timeout (struct trivfs_protid *cred,
{
return trivfs_S_io_select (cred, reply, reply_type, type);
}
+
+error_t trivfs_get_source (struct trivfs_protid *cred,
+ char *source, size_t source_len)
+{
+ strncpy (source, target, source_len - 1);
+ source[source_len -1 ] = '\0';
+ return 0;
+}