projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
common.c: Use _LINUX_CAPABILITY_VERSION_3 in cap_header
[collectd.git]
/
src
/
daemon
/
common.c
diff --git
a/src/daemon/common.c
b/src/daemon/common.c
index
e489449
..
477d759
100644
(file)
--- a/
src/daemon/common.c
+++ b/
src/daemon/common.c
@@
-1698,7
+1698,7
@@
int check_capability (int capability) /* {{{ */
}
cap_header->pid = getpid();
- cap_header->version = _LINUX_CAPABILITY_VERSION;
+ cap_header->version = _LINUX_CAPABILITY_VERSION
_3
;
if (capget(cap_header, cap_data) < 0)
{
ERROR("check_capability: capget failed");