chown() vs. setfown() prototype in vfs_syscalls.c

2002-08-29 Thread Giorgos Keramidas
Hello, A friend asked me why he was getting warnings about conversion of unsigned to signed, when calling chown() with: chown("/dev/null", -1, -1); The manpage of chown has a prototype of: int chown(const char *path, uid_t owner, gid_t group); But the manpage mentions that (uid_d)

Re: chown() vs. setfown() prototype in vfs_syscalls.c

2002-08-29 Thread Pawel Jakub Dawidek
On Thu, Aug 29, 2002 at 10:35:31AM +0300, Giorgos Keramidas wrote: +> Hello, +> +> A friend asked me why he was getting warnings about conversion of +> unsigned to signed, when calling chown() with: +> +> chown("/dev/null", -1, -1); +> +> The manpage of chown has a prototype of: +> +>