On Mon, Jul 14, 2025 at 03:39:47PM -0600, Shuah Khan wrote:
On 7/14/25 15:26, Harshal wrote:Will change this in next patch
Specify details in logs of failed cases
How about changing the above to:
Improve error messages adding details on failuires
Sure, that's great. Is there a way to test these changes ?fd = open(sys_path, O_WRONLY);
if (fd < 0)
- die("open failed: %s\n",
+ die("open of sys_path failed: %s\n",
Why not just use sys_path as a input parameter to die()?