Re: [PATCH v3 1/4] tools/misc: xenwatchdogd: add parse_secs()

2024-04-22 Thread Anthony PERARD
On Thu, Apr 11, 2024 at 07:20:20PM +0100, le...@solinno.co.uk wrote: > From: Leigh Brown > > Create a new parse_secs() function to parse the timeout and sleep > parameters. This ensures that non-numeric parameters are not > accidentally treated as numbers. > > Signed-off-by: Leigh Brown

[PATCH v3 1/4] tools/misc: xenwatchdogd: add parse_secs()

2024-04-11 Thread leigh
From: Leigh Brown Create a new parse_secs() function to parse the timeout and sleep parameters. This ensures that non-numeric parameters are not accidentally treated as numbers. Signed-off-by: Leigh Brown --- tools/misc/xenwatchdogd.c | 23 +++ 1 file changed, 15