summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-11-26 16:32:41 -0500
committerSven Eden <yamakuzure@gmx.net>2017-05-17 15:22:14 +0200
commit38d15c7f653c3f689fca128974fb235b69cfc7f7 (patch)
tree2b3853ad5417ab19d0f3f7297e1610e53bb1d81c /src/shared
parentab661e0502f13a131b211f0669dacc6ff5fedccb (diff)
core: rename Random* to RandomizedDelay*
The name RandomSec is too generic: "Sec" just specifies the default unit type, and "Random" by itself is not enough. Rename to something that should give the user general idea what the setting does without looking at documentation.
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/bus-util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shared/bus-util.c b/src/shared/bus-util.c
index 8b7988372..eee8fca14 100644
--- a/src/shared/bus-util.c
+++ b/src/shared/bus-util.c
@@ -1454,14 +1454,14 @@ int bus_append_unit_property_assignment(sd_bus_message *m, const char *assignmen
return 0;
- } else if (streq(field, "RandomSec")) {
+ } else if (streq(field, "RandomizedDelaySec")) {
usec_t t;
r = parse_sec(eq, &t);
if (r < 0)
- return log_error_errno(r, "Failed to parse RandomSec= parameter: %s", eq);
+ return log_error_errno(r, "Failed to parse RandomizedDelaySec= parameter: %s", eq);
- r = sd_bus_message_append_basic(m, SD_BUS_TYPE_STRING, "RandomUSec");
+ r = sd_bus_message_append_basic(m, SD_BUS_TYPE_STRING, "RandomizedDelayUSec");
if (r < 0)
return bus_log_create_error(r);