bus: rename message "serial" to "cookie"
Even if the lower-leveld dbus1 protocol calls it "serial", let's expose the word "cookie" for this instead, as this is what kdbus uses and since it doesn't imply monotonicity the same way "serial" does.
This commit is contained in:
@@ -1020,9 +1020,9 @@ static int unit_file_load(
|
||||
return r;
|
||||
|
||||
return
|
||||
strv_length(info->aliases) +
|
||||
strv_length(info->wanted_by) +
|
||||
strv_length(info->required_by);
|
||||
(int) strv_length(info->aliases) +
|
||||
(int) strv_length(info->wanted_by) +
|
||||
(int) strv_length(info->required_by);
|
||||
}
|
||||
|
||||
static int unit_file_search(
|
||||
@@ -1132,9 +1132,9 @@ static int unit_file_can_install(
|
||||
|
||||
if (r >= 0)
|
||||
r =
|
||||
strv_length(i->aliases) +
|
||||
strv_length(i->wanted_by) +
|
||||
strv_length(i->required_by);
|
||||
(int) strv_length(i->aliases) +
|
||||
(int) strv_length(i->wanted_by) +
|
||||
(int) strv_length(i->required_by);
|
||||
|
||||
return r;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user