From beca342dba17da022e87374708dc374cc11d5dca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 25 Feb 2021 13:16:39 +0100 Subject: [PATCH] man: fix grammaro --- man/sd_bus_message_read.xml | 2 +- man/sd_bus_message_read_basic.xml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/man/sd_bus_message_read.xml b/man/sd_bus_message_read.xml index 12a2c77ea82..0b921258dc5 100644 --- a/man/sd_bus_message_read.xml +++ b/man/sd_bus_message_read.xml @@ -74,7 +74,7 @@ should be read. See the table below for a complete list of allowed arguments and their types. Note that, if the basic type is a pointer (e.g., const char * in the case of a string), the argument is a pointer to a pointer, and also the pointer value that is written is only borrowed and the contents must - be copied if they are to be used after the end of the messages lifetime. If the type is + be copied if they are to be used after the end of the message's lifetime. If the type is h (UNIX file descriptor), the descriptor is not duplicated by this call and the returned descriptor remains in possession of the message object, and needs to be duplicated by the caller in order to keep an open reference to it after the message object is freed. diff --git a/man/sd_bus_message_read_basic.xml b/man/sd_bus_message_read_basic.xml index 443fcdaad0b..bd5a149a263 100644 --- a/man/sd_bus_message_read_basic.xml +++ b/man/sd_bus_message_read_basic.xml @@ -58,12 +58,12 @@ type is 's', the object passed in p should have type const char **. Note that, if the basic type is a pointer (e.g., const char * in the case of a string), the pointer is only borrowed and the contents must - be copied if they are to be used after the end of the messages lifetime. Similarly, during the lifetime - of such a pointer, the message must not be modified. If type is + be copied if they are to be used after the end of the message's lifetime. Similarly, during the + lifetime of such a pointer, the message must not be modified. If type is 'h' (UNIX file descriptor), the descriptor is not duplicated by this call and the - returned descriptor remains in possession of the message object, and needs to be duplicated by the caller - in order to keep an open reference to it after the message object is freed (for example by calling - fcntl(fd, FD_DUPFD_CLOEXEC, 3)). See the table below for a complete list of + returned descriptor remains in possession of the message object, and needs to be duplicated by the + caller in order to keep an open reference to it after the message object is freed (for example by + calling fcntl(fd, FD_DUPFD_CLOEXEC, 3)). See the table below for a complete list of allowed types.