tree-wide: fix typo in comments and NEWS
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
706a3df4be
commit
ead6bd250d
@@ -838,7 +838,7 @@ int bus_print_property(const char *name, sd_bus_message *m, bool value, bool all
|
||||
printf("%s=", name);
|
||||
|
||||
/* 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';
|
||||
|
||||
printf("%s%s", first ? "" : " ", good ? str : "[unprintable]");
|
||||
|
||||
Reference in New Issue
Block a user