This commit is contained in:
Yu Watanabe 2021-06-15 14:19:30 +09:00
parent 7802194ac0
commit a3f5f4a5c0
2 changed files with 2 additions and 2 deletions

View file

@ -253,7 +253,7 @@
<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>

View 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;