From: Torstein Husebø Date: Tue, 8 Aug 2017 14:05:29 +0000 (+0200) Subject: treewide: fix typos (#6566) X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=16756185567973ebf5788a875762d93770dd3f9b;p=elogind.git treewide: fix typos (#6566) --- diff --git a/src/basic/random-util.c b/src/basic/random-util.c index 810eeab4d..42f484d68 100644 --- a/src/basic/random-util.c +++ b/src/basic/random-util.c @@ -64,7 +64,7 @@ int acquire_random_bytes(void *p, size_t n, bool high_quality_required) { if ((size_t) r == n) return 0; if (!high_quality_required) { - /* Fill in the remaing bytes using pseudorandom values */ + /* Fill in the remaining bytes using pseudorandom values */ pseudorandom_bytes((uint8_t*) p + r, n - r); return 0; } diff --git a/src/shared/bus-util.c b/src/shared/bus-util.c index 3cb3bbda3..634d1394c 100644 --- a/src/shared/bus-util.c +++ b/src/shared/bus-util.c @@ -886,7 +886,7 @@ int bus_print_property(const char *name, sd_bus_message *property, bool value, b if (first && !value) printf("%s=", name); - /* This property has multiple space-seperated values, so + /* This property has multiple space-separated values, so * neither spaces not newlines can be allowed in a value. */ good = str[strcspn(str, " \n")] == '\0';