diff options
author | Dmitry V. Levin <ldv@strace.io> | 2023-02-15 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2023-02-15 10:41:03 +0000 |
commit | 8d3473f01d7ccdbc456f56c7797f4d164f5eb7a0 (patch) | |
tree | 906e3202de9fa6a6ae6efe202b3de2b1a34dd4de | |
parent | 729045ffae23d230d868ce9c16c571792a3327b7 (diff) | |
download | systemd-8d3473f01d7ccdbc456f56c7797f4d164f5eb7a0.tar.gz |
src: fix several typos in log messages
-rw-r--r-- | src/nspawn/nspawn-oci.c | 2 | ||||
-rw-r--r-- | src/shared/libfido2-util.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/nspawn/nspawn-oci.c b/src/nspawn/nspawn-oci.c index 02142a9352..3c6bfd3eaf 100644 --- a/src/nspawn/nspawn-oci.c +++ b/src/nspawn/nspawn-oci.c @@ -1807,7 +1807,7 @@ static int oci_seccomp_args(const char *name, JsonVariant *v, JsonDispatchFlags expected = p->op == SCMP_CMP_MASKED_EQ ? 4 : 3; if (r != expected) - json_log(e, flags|JSON_WARNING, 0, "Wrong number of system call arguments for JSON data data, ignoring."); + json_log(e, flags|JSON_WARNING, 0, "Wrong number of system call arguments for JSON data, ignoring."); /* Note that we are a bit sloppy here and do not insist that SCMP_CMP_MASKED_EQ gets two datum values, * and the other only one. That's because buildah for example by default calls things with diff --git a/src/shared/libfido2-util.c b/src/shared/libfido2-util.c index aa2d8b3ff1..6802ad0d3d 100644 --- a/src/shared/libfido2-util.c +++ b/src/shared/libfido2-util.c @@ -488,7 +488,7 @@ static int fido2_use_hmac_hash_specific_token( * it gracefully (also see below.) */ if (has_up && (required & (FIDO2ENROLL_UP|FIDO2ENROLL_UP_IF_NEEDED)) == FIDO2ENROLL_UP_IF_NEEDED) { - log_notice("%s%sGot unsupported option error when when user presence test is turned off. Trying with user presence test turned on.", + log_notice("%s%sGot unsupported option error when user presence test is turned off. Trying with user presence test turned on.", emoji_enabled() ? special_glyph(SPECIAL_GLYPH_TOUCH) : "", emoji_enabled() ? " " : ""); retry_with_up = true; @@ -957,7 +957,7 @@ int fido2_generate_hmac_hash( * slightly more defensively. */ if (has_up && !FLAGS_SET(lock_with, FIDO2ENROLL_UP)) { - log_notice("%s%sGot unsupported option error when when user presence test is turned off. Trying with user presence test turned on.", + log_notice("%s%sGot unsupported option error when user presence test is turned off. Trying with user presence test turned on.", emoji_enabled() ? special_glyph(SPECIAL_GLYPH_TOUCH) : "", emoji_enabled() ? " " : ""); retry_with_up = true; |