Merge remote-tracking branch 'github/pr/2006'
[collectd.git] / src / daemon / common.c
index 208e16d..02df096 100644 (file)
@@ -1741,7 +1741,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");