summaryrefslogtreecommitdiffstats
path: root/include/io
diff options
context:
space:
mode:
authorsochin.jiang2017-03-24 15:28:25 +0100
committerMichael Tokarev2017-05-10 09:18:57 +0200
commitbcd711feb0420d66e069498ed243a9e2b81ec167 (patch)
treee79dda68820c98eac23bc49d4cc459fb973ed74c /include/io
parentblock: Make 'replication_state' an enum (diff)
downloadqemu-bcd711feb0420d66e069498ed243a9e2b81ec167.tar.gz
qemu-bcd711feb0420d66e069498ed243a9e2b81ec167.tar.xz
qemu-bcd711feb0420d66e069498ed243a9e2b81ec167.zip
channel-file: fix wrong parameter comments
Signed-off-by: sochin.jiang <sochin@aliyun.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'include/io')
-rw-r--r--include/io/channel-file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/io/channel-file.h b/include/io/channel-file.h
index d2462c2ed7..79245f1183 100644
--- a/include/io/channel-file.h
+++ b/include/io/channel-file.h
@@ -71,7 +71,7 @@ qio_channel_file_new_fd(int fd);
/**
* qio_channel_file_new_path:
- * @fd: the file descriptor
+ * @path: the file path
* @flags: the open flags (O_RDONLY|O_WRONLY|O_RDWR, etc)
* @mode: the file creation mode if O_WRONLY is set in @flags
* @errp: pointer to initialized error object