tree-wide: fix typo in comments and NEWS
This commit is contained in:
parent
706a3df4be
commit
ead6bd250d
2
NEWS
2
NEWS
|
@ -1966,7 +1966,7 @@ CHANGES WITH 231:
|
||||||
with future releases) that the components link to. This should
|
with future releases) that the components link to. This should
|
||||||
decrease systemd footprint both in memory during runtime and on
|
decrease systemd footprint both in memory during runtime and on
|
||||||
disk. Note that the shared library is not for public use, and is
|
disk. Note that the shared library is not for public use, and is
|
||||||
neither API not ABI stable, but is likely to change with every new
|
neither API nor ABI stable, but is likely to change with every new
|
||||||
released update. Packagers need to make sure that binaries
|
released update. Packagers need to make sure that binaries
|
||||||
linking to libsystemd-shared.so are updated in step with the
|
linking to libsystemd-shared.so are updated in step with the
|
||||||
library.
|
library.
|
||||||
|
|
|
@ -183,5 +183,5 @@ static inline usec_t usec_sub_signed(usec_t timestamp, int64_t delta) {
|
||||||
/* With a 32bit time_t we can't go beyond 2038... */
|
/* With a 32bit time_t we can't go beyond 2038... */
|
||||||
#define USEC_TIMESTAMP_FORMATTABLE_MAX ((usec_t) 2147483647000000)
|
#define USEC_TIMESTAMP_FORMATTABLE_MAX ((usec_t) 2147483647000000)
|
||||||
#else
|
#else
|
||||||
#error "Yuck, time_t is neither 4 not 8 bytes wide?"
|
#error "Yuck, time_t is neither 4 nor 8 bytes wide?"
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -838,7 +838,7 @@ int bus_print_property(const char *name, sd_bus_message *m, bool value, bool all
|
||||||
printf("%s=", name);
|
printf("%s=", name);
|
||||||
|
|
||||||
/* This property has multiple space-separated values, so
|
/* This property has multiple space-separated values, so
|
||||||
* neither spaces not newlines can be allowed in a value. */
|
* neither spaces nor newlines can be allowed in a value. */
|
||||||
good = str[strcspn(str, " \n")] == '\0';
|
good = str[strcspn(str, " \n")] == '\0';
|
||||||
|
|
||||||
printf("%s%s", first ? "" : " ", good ? str : "[unprintable]");
|
printf("%s%s", first ? "" : " ", good ? str : "[unprintable]");
|
||||||
|
|
Loading…
Reference in a new issue