Skip to contentSkip to conversation

channel-file: fix wrong parameter comments

PATCH Applied sochin.jiang 3 participants 3 messages Mar 24, 2017 – Apr 23, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 channel-file: fix wrong parameter comments

From: "sochin.jiang" <[email protected]>

fix wrong parameter comments in channel-file.h.

---
 include/io/channel-file.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/io/channel-file.h +1 -1
index d2462c2..79245f1 100644
@@ -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
Signature · 1 line
1.8.3.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · sochin.jiang

From: "sochin.jiang" <[email protected]>

fix wrong parameter comments in channel-file.h.

Quoted 21 lines
---
 include/io/channel-file.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/io/channel-file.h +1 -2
index d2462c2..79245f1 100644
@@ -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
--

1.8.3.1

Quoted 1 line

--

Marc-André Lureau

#2 lore raw
In reply to sochin.jiang
Quoted 3 lines · sochin.jiang

From: "sochin.jiang" <[email protected]>

fix wrong parameter comments in channel-file.h.

Applied to -trivial. Please don't duplicate subject and commit comment, it's enough to leave commit empty if everything is said in the subject :)

Thanks,

/mjt