aboutsummaryrefslogtreecommitdiff
path: root/include/io/channel-file.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/io/channel-file.h')
-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 79245f1183..ebfe54ec70 100644
--- a/include/io/channel-file.h
+++ b/include/io/channel-file.h
@@ -73,7 +73,7 @@ qio_channel_file_new_fd(int fd);
* qio_channel_file_new_path:
* @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
+ * @mode: the file creation mode if O_CREAT is set in @flags
* @errp: pointer to initialized error object
*
* Create a new IO channel object for a file represented