Skip to content

Commit 93df521

Browse files
committed
tree-wide: 'allows to' -> 'allows one to'
As flagged by Lintian
1 parent 00f1714 commit 93df521

File tree

9 files changed

+13
-15
lines changed

9 files changed

+13
-15
lines changed

docs/ELF_PACKAGE_METADATA.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ or parse ELF core files.*
1414

1515
ELF binaries get stamped with a unique, build-time generated hex string identifier called `build-id`,
1616
[which gets embedded as an ELF note called `.note.gnu.build-id`](https://fedoraproject.org/wiki/Releases/FeatureBuildId).
17-
In most cases, this allows to associate a stripped binary with its debugging information.
17+
In most cases, this allows a stripped binary to be associated with its debugging information.
1818
It is used, for example, to dynamically fetch DWARF symbols from a debuginfo server, or
1919
to query the local package manager and find out the package metadata or, again, the DWARF
2020
symbols or program sources.

docs/MEMORY_PRESSURE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ pressure handling:
169169
setting controls whether to enable the memory pressure protocol for the
170170
service in question.
171171

172-
* The `MemoryPressureThresholdSec=` setting allows to configure the threshold
172+
* The `MemoryPressureThresholdSec=` setting allows configuring the threshold
173173
when to signal memory pressure to the services. It takes a time value
174174
(usually in the millisecond range) that defines a threshold per 1s time
175175
window: if memory allocation latencies grow beyond this threshold

man/systemd-cryptenroll.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@
331331
<term><option>--pkcs11-token-uri=<replaceable>URI</replaceable></option></term>
332332

333333
<listitem><para>Enroll a PKCS#11 security token or smartcard (e.g. a YubiKey). Expects a PKCS#11 URI
334-
that allows to find an X.509 certificate or a public key on the token. The URI must also be suitable
334+
that allows finding an X.509 certificate or a public key on the token. The URI must also be suitable
335335
to find a related private key after changing the type of object in it. Alternatively the special
336336
value <literal>auto</literal> may be specified, in order to automatically determine the suitable URI
337337
if a single security token containing a single key pair is plugged in. The special value

src/analyze/analyze-security.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2729,7 +2729,7 @@ static int offline_security_checks(
27292729

27302730
/* When a portable image is analyzed, the profile is what provides a good chunk of
27312731
* the security-related settings, but they are obviously not shipped with the image.
2732-
* This allows to take them in consideration. */
2732+
* This allows them to be taken into consideration. */
27332733
if (profile) {
27342734
_cleanup_free_ char *unit_name = NULL, *dropin = NULL, *profile_path = NULL;
27352735

src/boot/efi/secure-boot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ SecureBootMode secure_boot_mode(void) {
3333
}
3434

3535
/*
36-
* Custom mode allows to change secure boot certificate databases db, dbx, KEK and PK without the variable
36+
* Custom mode allows the secure boot certificate databases db, dbx, KEK, and PK to be changed without the variable
3737
* updates being signed. When enrolling certificates to an unconfigured system (no PK present yet) writing
3838
* db, dbx and KEK updates without signature works fine even in standard mode. Writing PK updates without
3939
* signature requires custom mode in any case.

src/core/manager.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2375,7 +2375,7 @@ int manager_load_unit_prepare(
23752375

23762376
Unit *unit = manager_get_unit(m, name);
23772377
if (unit) {
2378-
/* The time-based cache allows to start new units without daemon-reload,
2378+
/* The time-based cache allows new units to be started without daemon-reload,
23792379
* but if they are already referenced (because of dependencies or ordering)
23802380
* then we have to force a load of the fragment. As an optimization, check
23812381
* first if anything in the usual paths was modified since the last time

src/core/transaction.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,7 @@ int transaction_add_job_and_dependencies(
964964

965965
if (type != JOB_STOP) {
966966
r = bus_unit_validate_load_state(unit, e);
967-
/* The time-based cache allows to start new units without daemon-reload, but if they are
967+
/* The time-based cache allows new units to be started without daemon-reload, but if they are
968968
* already referenced (because of dependencies or ordering) then we have to force a load of
969969
* the fragment. As an optimization, check first if anything in the usual paths was modified
970970
* since the last time the cache was loaded. Also check if the last time an attempt to load

src/core/unit.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3186,8 +3186,8 @@ int unit_add_dependency(
31863186
if (u->manager && FLAGS_SET(u->manager->test_run_flags, MANAGER_TEST_RUN_IGNORE_DEPENDENCIES))
31873187
return 0;
31883188

3189-
/* Note that ordering a device unit after a unit is permitted since it allows to start its job
3190-
* running timeout at a specific time. */
3189+
/* Note that ordering a device unit after a unit is permitted since it allows its job running
3190+
* timeout to be started at a specific time. */
31913191
if (FLAGS_SET(a, UNIT_ATOM_BEFORE) && other->type == UNIT_DEVICE) {
31923192
log_unit_warning(u, "Dependency Before=%s ignored (.device units cannot be delayed)", other->id);
31933193
return 0;

src/vconsole/vconsole-setup.c

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -390,13 +390,11 @@ static int font_load_and_wait(const char *vc, Context *c) {
390390
}
391391

392392
/*
393-
* A newly allocated VT uses the font from the source VT. Here
394-
* we update all possibly already allocated VTs with the configured
395-
* font. It also allows to restart systemd-vconsole-setup.service,
396-
* to apply a new font to all VTs.
393+
* A newly allocated VT uses the font from the source VT. Here we update all possibly already allocated VTs
394+
* with the configured font. It also allows systemd-vconsole-setup.service to be restarted to apply a new
395+
* font to all VTs.
397396
*
398-
* We also setup per-console utf8 related stuff: kbdmode, term
399-
* processing, stty iutf8.
397+
* We also setup per-console utf8 related stuff: kbdmode, term processing, stty iutf8.
400398
*/
401399
static void setup_remaining_vcs(int src_fd, unsigned src_idx, bool utf8) {
402400
struct console_font_op cfo = {

0 commit comments

Comments
 (0)