diff options
Diffstat (limited to 'Src')
-rw-r--r-- | Src/Modules/cap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Src/Modules/cap.c b/Src/Modules/cap.c index aaf5e2433..0b7752027 100644 --- a/Src/Modules/cap.c +++ b/Src/Modules/cap.c @@ -73,7 +73,6 @@ bin_getcap(char *nam, char **argv, UNUSED(Options ops), UNUSED(int func)) char *result = NULL; ssize_t length; cap_t caps; - char *filename; caps = cap_get_file(unmetafy(dupstring(*argv), NULL)); if(caps) @@ -102,7 +101,7 @@ bin_setcap(char *nam, char **argv, UNUSED(Options ops), UNUSED(int func)) } do { - if(cap_set_file(unmetafy(dupstring(*argv, NULL)), caps)) { + if(cap_set_file(unmetafy(dupstring(*argv), NULL), caps)) { zwarnnam(nam, "%s: %e", *argv, errno); ret = 1; } |