chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
time-util: add and use USEC/NSEC_INFINIY
[elogind.git]
/
src
/
core
/
load-fragment.c
diff --git
a/src/core/load-fragment.c
b/src/core/load-fragment.c
index 81f137946cdc6822b4f334cc17292eb4bdbda533..6d8431015da00394520a4dced4a755f12a5ac1fb 100644
(file)
--- a/
src/core/load-fragment.c
+++ b/
src/core/load-fragment.c
@@
-2510,7
+2510,7
@@
int config_parse_cpu_quota(
assert(rvalue);
if (isempty(rvalue)) {
- c->cpu_quota_per_sec_usec =
(usec_t) -1
;
+ c->cpu_quota_per_sec_usec =
USEC_INFINITY
;
return 0;
}