aboutsummaryrefslogtreecommitdiff
path: root/hw/9pfs/9p-util-linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/9pfs/9p-util-linux.c')
-rw-r--r--hw/9pfs/9p-util-linux.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/9pfs/9p-util-linux.c b/hw/9pfs/9p-util-linux.c
index 398614a5d0..db451b0784 100644
--- a/hw/9pfs/9p-util-linux.c
+++ b/hw/9pfs/9p-util-linux.c
@@ -61,4 +61,10 @@ int fsetxattrat_nofollow(int dirfd, const char *filename, const char *name,
ret = lsetxattr(proc_path, name, value, size, flags);
g_free(proc_path);
return ret;
+
+}
+
+int qemu_mknodat(int dirfd, const char *filename, mode_t mode, dev_t dev)
+{
+ return mknodat(dirfd, filename, mode, dev);
}