]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
fix typo 19930/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 15 Jun 2021 05:19:30 +0000 (14:19 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 15 Jun 2021 05:19:30 +0000 (14:19 +0900)
man/sd_bus_error.xml
src/test/test-libcrypt-util.c

index bb8015de5ee7fd94067ac0a5c94b0062b2f73c74..aa4822818ac5f30f83c957975e0caad577652982 100644 (file)
     <para><function>sd_bus_error_move()</function> is similar to <function>sd_bus_error_copy()</function>,
     but will move any error information from <parameter>e</parameter> into <parameter>dst</parameter>,
     resetting the former. This function cannot fail, as no new memory is allocated. Note that if
-    <parameter>e</parameter> is not set, <parameter>dst</parameter> is initializated to
+    <parameter>e</parameter> is not set, <parameter>dst</parameter> is initialized to
     <constant>SD_BUS_ERROR_NULL</constant>. Moreover, if <parameter>dst</parameter> is
     <constant>NULL</constant> no operation is executed on it and resources held by <parameter>e</parameter>
     are freed and reset. Returns a converted <varname>errno</varname>-like, non-positive error value.</para>
index 360db2816d442f8e880bc3b8c2c861eac343ead8..ebd520f7babfe976c142c78606f3e475cb839008 100644 (file)
@@ -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;