Merge pull request #30534 from yuwata/man-page-update-and-fix-typo

Man page update and fix typo
This commit is contained in:
Yu Watanabe
2023-12-20 18:43:32 +09:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -544,7 +544,7 @@
<varlistentry>
<term><varname>ID_NET_NAME_ALLOW=<replaceable>BOOL</replaceable></varname></term>
<listitem><para>This evironment value sets a fallback policy for reading a sysfs attribute.
<listitem><para>This udev property sets a fallback policy for reading a sysfs attribute.
If set to <constant>0</constant> udev will not read any sysfs attribute by default, unless it is
explicitly allowlisted, see below. If set to <constant>1</constant> udev can use any sysfs attribute
unless it is explicitly forbidden. The default value is <constant>1</constant>.</para>
@@ -556,7 +556,7 @@
<varlistentry>
<term><varname>ID_NET_NAME_ALLOW_<replaceable>sysfsattr</replaceable>=<replaceable>BOOL</replaceable></varname></term>
<listitem><para>This evironment value explicitly states if udev shall use the specified
<listitem><para>This udev property explicitly states if udev shall use the specified
<replaceable>sysfsattr</replaceable>, when composing the device name.</para>
<xi:include href="version-info.xml" xpointer="v256"/>

View File

@@ -426,7 +426,7 @@ static int vl_method_get_memberships(Varlink *link, JsonVariant *parameters, Var
}
static int process_connection(VarlinkServer *server, int _fd) {
_cleanup_close_ int fd = TAKE_FD(_fd); /* always take possesion */
_cleanup_close_ int fd = TAKE_FD(_fd); /* always take possession */
_cleanup_(varlink_close_unrefp) Varlink *vl = NULL;
int r;