tree-wide: fix typo

This commit is contained in:
Yu Watanabe
2023-10-31 14:35:33 +09:00
parent 9968ca32cf
commit d19434fbf8
7 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -746,5 +746,5 @@ secure (as no sandboxing restrictions can be enforced).
Compatibility support for System V services in systemd is deprecated. Please
make sure to update the package in question to provide proper, native systemd
unit files. Contact vendor if necesssary. Compatibility support for System V
unit files. Contact vendor if necessary. Compatibility support for System V
services is deprecated and will be removed soon.
+1 -1
View File
@@ -2036,7 +2036,7 @@ static int client_handle_message(sd_dhcp_client *client, DHCPMessage *message, i
return 0; /* invalid message, let's ignore it */
if (client->lease->rapid_commit)
/* got a succssful rapid commit */
/* got a successful rapid commit */
r = client_enter_bound(client, r);
else
r = client_enter_requesting(client);
+1 -1
View File
@@ -737,7 +737,7 @@ int dhcp_lease_parse_options(uint8_t code, uint8_t len, const void *option, void
case SD_DHCP_OPTION_RAPID_COMMIT:
if (len > 0)
log_debug("Invalid DHCP Rapid Commit option, ignorning.");
log_debug("Invalid DHCP Rapid Commit option, ignoring.");
lease->rapid_commit = true;
break;
+3 -3
View File
@@ -138,9 +138,9 @@ int main(int argc, char *argv[]) {
}
assert_se(fd >= 0);
/* If the test directory is on an overlayfs then files and their direcory may return different st_dev
* in stat results, which confuses nftw into thinking they're on different filesystems
* and won't return the result when the FTW_MOUNT flag is set. */
/* If the test directory is on an overlayfs then files and their directory may return different
* st_dev in stat results, which confuses nftw into thinking they're on different filesystems and
* won't return the result when the FTW_MOUNT flag is set. */
if (fd_is_fs_type(fd, OVERLAYFS_SUPER_MAGIC)) {
log_tests_skipped("nftw mountpoint detection produces false-positives on overlayfs");
return EXIT_TEST_SKIP;
+1 -1
View File
@@ -1590,7 +1590,7 @@ def finalize_options(opts):
opts.sb_cert = pathlib.Path(opts.sb_cert)
if bool(opts.sb_key) ^ bool(opts.sb_cert):
# one param only given, sbsign need boths
# one param only given, sbsign needs both
raise ValueError('--secureboot-private-key= and --secureboot-certificate= must be specified together')
elif bool(opts.sb_key) and bool(opts.sb_cert):
# both param given, infer sbsign and in case it was given, ensure signtool=sbsign
+1 -1
View File
@@ -145,7 +145,7 @@ if ! systemd-detect-virt -cq; then
-p SocketBindAllow=1234
-p SocketBindAllow=ipv4:udp:any
-p SocketBindAllow=ipv6:6666
# Everything but the last assignment is superfluous, but it still excercises
# Everything but the last assignment is superfluous, but it still exercises
# the parsing machinery
-p SocketBindDeny=
-p SocketBindDeny=1111
+1 -1
View File
@@ -22,7 +22,7 @@ mount -t tmpfs -o size=1,nr_inodes=1 tmpfs /tmp/full
# verb: setup
# Run this first, otherwise any encrypted credentials wouldn't be decryptable
# as we regnerate the host key
# as we regenerate the host key
rm -fv /var/lib/systemd/credential.secret
systemd-creds setup
test -e /var/lib/systemd/credential.secret