On Fri, Jun 9, 2017 at 1:09 PM, Linda Knippers <[email protected]> wrote: > On 06/09/2017 01:27 AM, Dan Williams wrote: >> There are occasions where it would be good to know the difference >> between a sysfs attribute failing to be accessed because we could not >> open versus could not read/write. > > I think it would be really helpful if you returned the actual errno value > rather than something hard coded. The most common reason for not being able > to write > something is that it requires running as root, in which case you should > get an EPERM. I think an accurate errno will help users figure out what's > gone wrong.
Will do. _______________________________________________ Linux-nvdimm mailing list [email protected] https://lists.01.org/mailman/listinfo/linux-nvdimm
