From 0e3ae6f8f4a4d2a4419e43c09b1e3169e44c7389 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 16 Jan 2018 22:44:57 +0100 Subject: Fix firmlinks showing up in /proc/mounts mtab checks for fsys_get_options. * trans/firmlink.c: Include . (trivfs_append_args): New function. --- trans/firmlink.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'trans') diff --git a/trans/firmlink.c b/trans/firmlink.c index ca094ecf5..1c656a6f7 100644 --- a/trans/firmlink.c +++ b/trans/firmlink.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include @@ -287,6 +288,13 @@ trivfs_S_io_select_timeout (struct trivfs_protid *cred, return trivfs_S_io_select (cred, reply, reply_type, type); } +error_t +trivfs_append_args (struct trivfs_control *fsys, + char **argz, size_t *argz_len) +{ + return argz_add (argz, argz_len, ""); +} + error_t trivfs_get_source (char *source, size_t source_len) { strncpy (source, target, source_len - 1); -- cgit v1.2.3