mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-03 13:40:39 +01:00
typo fix: allow to -> allow one to
Detected by lintian: Example: I: network-manager: typo-in-manual-page "allow to" "allow one to" [usr/share/man/man5/NetworkManager.conf.5.gz:1392]
This commit is contained in:
parent
10e58f7c3c
commit
898db303c3
11 changed files with 12 additions and 12 deletions
|
|
@ -1580,7 +1580,7 @@ managed=1
|
|||
<refsect1>
|
||||
<title><literal>global-dns-domain</literal> sections</title>
|
||||
<para>Sections with a name starting with the "global-dns-domain-"
|
||||
prefix allow to define global DNS configuration for specific
|
||||
prefix allow one to define global DNS configuration for specific
|
||||
domains. The part of section name after "global-dns-domain-"
|
||||
specifies the domain name a section applies to (for example, a
|
||||
section could be named "global-dns-domain-foobar.com"). More
|
||||
|
|
|
|||
|
|
@ -1830,7 +1830,7 @@ _config_init(NMNDiscConfig *config, const NMNDiscConfig *src)
|
|||
nm_assert(config);
|
||||
g_return_if_fail(src);
|
||||
|
||||
/* we only allow to set @config if it was cleared (or is not yet initialized). */
|
||||
/* we only allow one to set @config if it was cleared (or is not yet initialized). */
|
||||
nm_assert(!config->l3cfg);
|
||||
nm_assert(!config->ifname);
|
||||
nm_assert(!config->network_id);
|
||||
|
|
|
|||
|
|
@ -1356,7 +1356,7 @@ nmtstp_check_platform_full(NMPlatform *platform, guint32 obj_type_flags, gboolea
|
|||
/* For IPv4, it also does not reliably always work. This may
|
||||
* be a bug we want to fix. For now, ignore the check.
|
||||
*
|
||||
* a) Kernel can wrongly allow to configure the same route twice.
|
||||
* a) Kernel can wrongly allow one to configure the same route twice.
|
||||
* That means, the same route is visible in `ip route` output,
|
||||
* meaning, it would be added twice to the platform cache.
|
||||
* At least due to that problem, may the weak-id not be properly sorted.
|
||||
|
|
@ -1364,7 +1364,7 @@ nmtstp_check_platform_full(NMPlatform *platform, guint32 obj_type_flags, gboolea
|
|||
* a bug of kernel allowing to configure the exact same route twice.
|
||||
*
|
||||
* b) See https://bugzilla.redhat.com/show_bug.cgi?id=2162315 which is
|
||||
* a bug where kernel does allow to configure single-hop routes that differ by
|
||||
* a bug where kernel does allow one to configure single-hop routes that differ by
|
||||
* their next-hop weight, but on the netlink API those routes look the same.
|
||||
*
|
||||
* Due to a) and b), the platform cache may contain only one instance
|
||||
|
|
|
|||
|
|
@ -3769,7 +3769,7 @@ nms_ifcfg_rh_writer_write_connection(NMConnection *connection,
|
|||
*
|
||||
* FIXME: a much better solution might be, to re-read the connection only based
|
||||
* on the in-memory representation of what we collected above. But the reader
|
||||
* does not yet allow to inject the configuration. */
|
||||
* does not yet allow one to inject the configuration. */
|
||||
if (out_reread || out_reread_same) {
|
||||
gs_unref_object NMConnection *reread = NULL;
|
||||
gboolean reread_same = FALSE;
|
||||
|
|
|
|||
|
|
@ -7684,7 +7684,7 @@ set_property(GObject *object, guint prop_id, const GValue *value, GParamSpec *ps
|
|||
} else {
|
||||
NMClientInstanceFlags flags = v_uint;
|
||||
|
||||
/* After object construction, we only allow to toggle certain flags and
|
||||
/* After object construction, we only allow one to toggle certain flags and
|
||||
* ignore all other flags. */
|
||||
|
||||
if ((priv->instance_flags ^ flags)
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
* SECTION:nm-setting-ovs-external-ids
|
||||
* @short_description: External-IDs for OVS database
|
||||
*
|
||||
* The #NMSettingOvsExternalIDs object is a #NMSetting subclass that allow to
|
||||
* The #NMSettingOvsExternalIDs object is a #NMSetting subclass that allows one to
|
||||
* configure external ids for OVS.
|
||||
**/
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* SECTION:nm-setting-user
|
||||
* @short_description: Describes user properties
|
||||
*
|
||||
* The #NMSettingUser object is a #NMSetting subclass that allow to attach
|
||||
* The #NMSettingUser object is a #NMSetting subclass that allows one to attach
|
||||
* arbitrary user data to #NMConnection objects.
|
||||
**/
|
||||
|
||||
|
|
|
|||
|
|
@ -149,7 +149,7 @@ _entry_unpack(const NMDedupMultiEntry *entry,
|
|||
nm_assert(NM_IN_SET(*out_lookup_head, FALSE, TRUE));
|
||||
ASSERT_idx_type(*out_idx_type);
|
||||
|
||||
/* for lookup of the head, we allow to omit object, but only
|
||||
/* for lookup of the head, we allow one to omit object, but only
|
||||
* if the idx_type does not partition the objects. Otherwise, we
|
||||
* require a obj to compare. */
|
||||
nm_assert(!*out_lookup_head || (*out_obj || !(*out_idx_type)->klass->idx_obj_partition_equal));
|
||||
|
|
|
|||
|
|
@ -2143,7 +2143,7 @@ nm_g_ptr_array_pdata(const GPtrArray *arr)
|
|||
* must agree with the owner-ship semantics of @func.
|
||||
*
|
||||
* This is a replacement for g_ptr_array_copy(), which is not available
|
||||
* before glib 2.62. Since GPtrArray does not allow to access the internal
|
||||
* before glib 2.62. Since GPtrArray does not allow one to access the internal
|
||||
* element_free_func, we cannot add a compatibility implementation of g_ptr_array_copy()
|
||||
* as the caller must provide the correct element_free_func.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ typedef enum {
|
|||
* long as NM_PLATFORM_IP_ROUTE_CMP_TYPE_ID differs. */
|
||||
NM_PLATFORM_IP_ROUTE_CMP_TYPE_WEAK_ID,
|
||||
|
||||
/* compare two routes as kernel would allow to add them with
|
||||
/* compare two routes as kernel would allow one to add them with
|
||||
* `ip route append`. In other words, kernel does not allow you to
|
||||
* add two routes (at the same time) which compare equal according
|
||||
* to NM_PLATFORM_IP_ROUTE_CMP_TYPE_ID.
|
||||
|
|
|
|||
|
|
@ -975,7 +975,7 @@ nm_memcpy(void *restrict dest, const void *restrict src, size_t n)
|
|||
* side-effects. */
|
||||
#define NM_IN_SET_SE(x, ...) _NM_IN_SET(NM_UNIQ, |, typeof(x), x, __VA_ARGS__)
|
||||
|
||||
/* the *_TYPED forms allow to explicitly select the type of "x". This is useful
|
||||
/* the *_TYPED forms allow one to explicitly select the type of "x". This is useful
|
||||
* if "x" doesn't support typeof (bitfields) or you want to gracefully convert
|
||||
* a type using automatic type conversion rules (but not forcing the conversion
|
||||
* with a cast). */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue