Re: [PATCH 7/7] v9fs: debug and support routines (2.0)

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

 



On Tue, 2005-06-07 09:49:51 -0500, [email protected] <[email protected]> wrote:
> +++ b/fs/9p/error.h

If you really need to use this struct, ...

> +/* FixMe - reduce to a reasonable size */
> +static struct errormap errmap[] = {
> +	{"Operation not permitted", 1},
> +	{"wstat prohibited", 1},
> +	{"No such file or directory", 2},
> +	{"file not found", 2},
> +	{"Interrupted system call", 4},
> +	{"Input/output error", 5},

...then please use the E macros of errno.h and not these numeric
constants. errno values may vary between ports.

MfG, JBG

-- 
Jan-Benedict Glaw       [email protected]    . +49-172-7608481             _ O _
"Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg  _ _ O
 fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux