From 8fce24dc4fc05425b58a913aad20d2356d79322a Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 3 Mar 2009 20:44:34 +0000 Subject: fix the cap.c patch --- Src/Modules/cap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Src') 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; } -- cgit 1.4.1