aboutsummaryrefslogtreecommitdiff
path: root/include/chardev/char-fd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/chardev/char-fd.h')
-rw-r--r--include/chardev/char-fd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/chardev/char-fd.h b/include/chardev/char-fd.h
index 9de0e44..6fe4306 100644
--- a/include/chardev/char-fd.h
+++ b/include/chardev/char-fd.h
@@ -41,7 +41,7 @@ typedef struct FDChardev FDChardev;
DECLARE_INSTANCE_CHECKER(FDChardev, FD_CHARDEV,
TYPE_CHARDEV_FD)
-void qemu_chr_open_fd(Chardev *chr, int fd_in, int fd_out);
+bool qemu_chr_open_fd(Chardev *chr, int fd_in, int fd_out, Error **errp);
int qmp_chardev_open_file_source(char *src, int flags, Error **errp);
#endif /* CHAR_FD_H */