summaryrefslogtreecommitdiff
path: root/src/dbus-execute.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-04 21:12:10 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-04 21:12:10 +0200
commit03fae01822b5275a2940458f65644796283a8a23 (patch)
treedf137fe6f20ba6944b4d4cad100dd44df28abc5f /src/dbus-execute.c
parent393a2f9be167f4147e117fd2fc912292899b6b33 (diff)
uniformly suffix time span properties with their unit
Diffstat (limited to 'src/dbus-execute.c')
-rw-r--r--src/dbus-execute.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dbus-execute.c b/src/dbus-execute.c
index 529f72dfa0..d37bd5560e 100644
--- a/src/dbus-execute.c
+++ b/src/dbus-execute.c
@@ -171,7 +171,7 @@ int bus_execute_append_affinity(Manager *m, DBusMessageIter *i, const char *prop
return 0;
}
-int bus_execute_append_timer_slack_ns(Manager *m, DBusMessageIter *i, const char *property, void *data) {
+int bus_execute_append_timer_slack_nsec(Manager *m, DBusMessageIter *i, const char *property, void *data) {
ExecContext *c = data;
uint64_t u;
@@ -180,8 +180,8 @@ int bus_execute_append_timer_slack_ns(Manager *m, DBusMessageIter *i, const char
assert(property);
assert(c);
- if (c->timer_slack_ns_set)
- u = (uint64_t) c->timer_slack_ns_set;
+ if (c->timer_slack_nsec_set)
+ u = (uint64_t) c->timer_slack_nsec;
else
u = (uint64_t) prctl(PR_GET_TIMERSLACK);