From a3f5f4a5c0fc725fb56fa00e8786613b83c152d3 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Tue, 15 Jun 2021 14:19:30 +0900 Subject: [PATCH] fix typo --- man/sd_bus_error.xml | 2 +- src/test/test-libcrypt-util.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/man/sd_bus_error.xml b/man/sd_bus_error.xml index bb8015de5ee..aa4822818ac 100644 --- a/man/sd_bus_error.xml +++ b/man/sd_bus_error.xml @@ -253,7 +253,7 @@ sd_bus_error_move() is similar to sd_bus_error_copy(), but will move any error information from e into dst, resetting the former. This function cannot fail, as no new memory is allocated. Note that if - e is not set, dst is initializated to + e is not set, dst is initialized to SD_BUS_ERROR_NULL. Moreover, if dst is NULL no operation is executed on it and resources held by e are freed and reset. Returns a converted errno-like, non-positive error value. diff --git a/src/test/test-libcrypt-util.c b/src/test/test-libcrypt-util.c index 360db2816d4..ebd520f7bab 100644 --- a/src/test/test-libcrypt-util.c +++ b/src/test/test-libcrypt-util.c @@ -36,7 +36,7 @@ static void test_make_salt(void) { static int test_hash_password(void) { log_info("/* %s */", __func__); - /* As a warmup exercise, check if we can hash passwords. */ + /* As a warm-up exercise, check if we can hash passwords. */ bool have_sane_hash = false; const char *hash;