chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix off by one error in array index assertion
[elogind.git]
/
src
/
core
/
manager.h
diff --git
a/src/core/manager.h
b/src/core/manager.h
index 92985caefb524b70194508bfda0e3f38b2d2ab7c..e014abd04f6e6544ee08bd8a365668f1243f6ab1 100644
(file)
--- a/
src/core/manager.h
+++ b/
src/core/manager.h
@@
-228,7
+228,7
@@
struct Manager {
bool default_memory_accounting;
bool default_blockio_accounting;
- struct rlimit *rlimit[
RLIMIT_NLIMITS
];
+ struct rlimit *rlimit[
_RLIMIT_MAX
];
/* non-zero if we are reloading or reexecuting, */
int n_reloading;