channel-file: fix wrong parameter comments
authorsochin.jiang <sochin@aliyun.com>
Fri, 24 Mar 2017 14:28:25 +0000 (22:28 +0800)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 10 May 2017 07:18:57 +0000 (10:18 +0300)
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>
include/io/channel-file.h

index d2462c2ed7e3b45572065ffc061cb9ab6f52743a..79245f1183ba0f687a485a8592ce5ab0eac797c7 100644 (file)
@@ -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