Re: [PATCH] pci-arbiter: Fix bug on option parsing.

2020-04-11 Thread Samuel Thibault
Hello, Joan Lledó via Bug reports for the GNU Hurd, le sam. 11 avril 2020 13:37:19 +0200, a ecrit: > From: Joan Lledó > > A misuse of strtol() caused wrong parameters to be interpreted as '0' Applied, thanks! Samuel

[PATCH] pci-arbiter: Fix bug on option parsing.

2020-04-11 Thread Joan Lledó via Bug reports for the GNU Hurd
From: Joan Lledó A misuse of strtol() caused wrong parameters to be interpreted as '0' * pci-arbiter/options.c: * New function parse_number() to handle wrong input * Call parse_number() from all places where strtol was being called --- pci-arbiter/options.c | 58