diff --git a/chown.c b/chown.c index a65607204..d1e52deda 100644 --- a/chown.c +++ b/chown.c @@ -36,7 +36,7 @@ static long uid; static long gid; -static int (*chown_func)() = chown; +static int (*chown_func)(const char *, __uid_t, __gid_t) = chown; static int fileAction(const char *fileName, struct stat *statbuf, void* junk) { diff --git a/coreutils/chown.c b/coreutils/chown.c index a65607204..d1e52deda 100644 --- a/coreutils/chown.c +++ b/coreutils/chown.c @@ -36,7 +36,7 @@ static long uid; static long gid; -static int (*chown_func)() = chown; +static int (*chown_func)(const char *, __uid_t, __gid_t) = chown; static int fileAction(const char *fileName, struct stat *statbuf, void* junk) {