Re: [PATCH 2/2] proc: fix some wrong error code usage

From: KOSAKI Motohiro
Date: Sun Mar 06 2011 - 06:39:17 EST


> From: Jovi Zhang <bookjovi@xxxxxxxxx>
>
> [root@wei 1]# cat /proc/1/mem
> cat: /proc/1/mem: No such process
>
> error code -ESRCH is wrong in this situation
>
> Signed-off-by: Jovi Zhang <bookjovi@xxxxxxxxx>

Looks fine.
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/