projects
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fixed warnings when compiled without legacy-mode
[util-vserver.git]
/
util-vserver
/
src
/
reducecap.c
diff --git
a/util-vserver/src/reducecap.c
b/util-vserver/src/reducecap.c
index
0c576b6
..
7cf0842
100644
(file)
--- a/
util-vserver/src/reducecap.c
+++ b/
util-vserver/src/reducecap.c
@@
-227,7
+227,9
@@
int main (int argc, char *argv[])
bool do_show = false;
uint32_t flags = 0;
pid_t pid = 0;
+#ifdef VC_ENABLE_API_LEGACY
bool show_obsolete_warning = true;
+#endif
while (1) {
int c = getopt_long(argc, argv, "+", CMDLINE_OPTIONS, 0);