aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsochin.jiang <sochin@aliyun.com>2017-03-24 22:28:25 +0800
committerMichael Tokarev <mjt@tls.msk.ru>2017-05-10 10:18:57 +0300
commitbcd711feb0420d66e069498ed243a9e2b81ec167 (patch)
treee79dda68820c98eac23bc49d4cc459fb973ed74c
parent3c76c606dab4d2298a9877628fe28bf9e6d99e22 (diff)
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>
-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