diff options
author | Andrew G. Morgan <morgan@kernel.org> | 2008-05-24 14:43:53 -0700 |
---|---|---|
committer | Andrew G. Morgan <morgan@kernel.org> | 2008-05-24 14:43:53 -0700 |
commit | 85aaecf6a816ebcf01d76772677ea156d26887c3 (patch) | |
tree | 00182f64ae7b189a663a4b0d4d5db7b45c2177c5 /libcap/cap_flag.c | |
parent | 16ad468ebfe8954701ec6b57689448a12bd70176 (diff) | |
download | libcap-85aaecf6a816ebcf01d76772677ea156d26887c3.tar.gz |
Drop dependency on current value of _LINUX_CAPABILITY_VERSION
Be more explicit with a local definition of _LIBCAP_CAPABILITY_* to
indicate the libraries preferred capability revision.
Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
Diffstat (limited to 'libcap/cap_flag.c')
-rw-r--r-- | libcap/cap_flag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcap/cap_flag.c b/libcap/cap_flag.c index 536f655..78e83a5 100644 --- a/libcap/cap_flag.c +++ b/libcap/cap_flag.c @@ -106,7 +106,7 @@ int cap_clear_flag(cap_t cap_d, cap_flag_t flag) if (good_cap_t(cap_d)) { unsigned i; - for (i=0; i<_LINUX_CAPABILITY_U32S; i++) { + for (i=0; i<_LIBCAP_CAPABILITY_U32S; i++) { cap_d->u[i].flat[flag] = 0; } return 0; |