[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: The open() system call in f8 really broken...



On Thu, 16 Aug 2007 21:47:35 +0200, Oliver Falk <oliver linux-kernel at> wrote:

> if ((fd = open(fname, readonly? O_RDONLY : (O_RDWR|O_CREAT), 0022)) < 0) {

This was my first idea, but then I remembered how printk complains
about extra arguments for a format.

BTW, 022 is an strange mode. It looks like you used the umask.

-- Pete


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]