chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
uniformly suffix time span properties with their unit
[elogind.git]
/
src
/
execute.c
diff --git
a/src/execute.c
b/src/execute.c
index f3f95ff754e5d15b76d3d42642288bd7e2f56cf1..982b7d1bcd90158ee4e11b27e565724f270c9ff2 100644
(file)
--- a/
src/execute.c
+++ b/
src/execute.c
@@
-1083,8
+1083,8
@@
int exec_spawn(ExecCommand *command,
goto fail;
}
goto fail;
}
- if (context->timer_slack_ns_set)
- if (prctl(PR_SET_TIMERSLACK, context->timer_slack_ns
_set
) < 0) {
+ if (context->timer_slack_ns
ec
_set)
+ if (prctl(PR_SET_TIMERSLACK, context->timer_slack_ns
ec
) < 0) {
r = EXIT_TIMERSLACK;
goto fail;
}
r = EXIT_TIMERSLACK;
goto fail;
}
@@
-1468,8
+1468,8
@@
void exec_context_dump(ExecContext *c, FILE* f, const char *prefix) {
fputs("\n", f);
}
fputs("\n", f);
}
- if (c->timer_slack_ns_set)
- fprintf(f, "%sTimerSlackNS
: %lu\n", prefix, c->timer_slack_ns
);
+ if (c->timer_slack_ns
ec
_set)
+ fprintf(f, "%sTimerSlackNS
ec: %lu\n", prefix, c->timer_slack_nsec
);
fprintf(f,
"%sStandardInput: %s\n"
fprintf(f,
"%sStandardInput: %s\n"