summaryrefslogtreecommitdiff
path: root/src/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/execute.c
parent393a2f9be167f4147e117fd2fc912292899b6b33 (diff)
uniformly suffix time span properties with their unit
Diffstat (limited to 'src/execute.c')
-rw-r--r--src/execute.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/execute.c b/src/execute.c
index f3f95ff754..982b7d1bcd 100644
--- a/src/execute.c
+++ b/src/execute.c
@@ -1083,8 +1083,8 @@ int exec_spawn(ExecCommand *command,
goto fail;
}
- if (context->timer_slack_ns_set)
- if (prctl(PR_SET_TIMERSLACK, context->timer_slack_ns_set) < 0) {
+ if (context->timer_slack_nsec_set)
+ if (prctl(PR_SET_TIMERSLACK, context->timer_slack_nsec) < 0) {
r = EXIT_TIMERSLACK;
goto fail;
}
@@ -1468,8 +1468,8 @@ void exec_context_dump(ExecContext *c, FILE* f, const char *prefix) {
fputs("\n", f);
}
- if (c->timer_slack_ns_set)
- fprintf(f, "%sTimerSlackNS: %lu\n", prefix, c->timer_slack_ns);
+ if (c->timer_slack_nsec_set)
+ fprintf(f, "%sTimerSlackNSec: %lu\n", prefix, c->timer_slack_nsec);
fprintf(f,
"%sStandardInput: %s\n"