Re: [LTP] [PATCH] sysctl03: sysctl returns EACCES after 2.6.33-rc1

Garrett Cooper
2010-02-17T17:10:56Z

On Wed, Feb 17, 2010 at 12:01 AM, Rishikesh <risrajak@linux.vnet.ibm.com> wrote:
> Hi Shi,
>
> Thanks for your patch, still i am finding time to look into your patch.
> Will reply you soon.
>
> http://marc.info/?l=ltp-list&m=126502355614857&w=2

I looked at the patch finally.

Please use TTERRNO instead of strerror(...) for the reported value.
There's no reason why you should use strerror(...) there as that's
already done with tst_res(3).
Thanks,
-Garrett

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW