Re: softraid: too many arguments for sr_error

2020-03-09 Thread Tobias Heider
On Tue, Mar 10, 2020 at 12:01:45AM +0100, Klemens Nanni wrote: > On Mon, Mar 09, 2020 at 11:41:14PM +0100, Tobias Heider wrote: > > sr_error takes a sr_softc and a printf like format string + varargs. > > There's no need to pass DEVNAME(sc) here. > Either that or embed the device name in the

Re: softraid: too many arguments for sr_error

2020-03-09 Thread Klemens Nanni
On Mon, Mar 09, 2020 at 11:41:14PM +0100, Tobias Heider wrote: > sr_error takes a sr_softc and a printf like format string + varargs. > There's no need to pass DEVNAME(sc) here. Either that or embed the device name in the format string; its usage inside error messages is already inconsistent

softraid: too many arguments for sr_error

2020-03-09 Thread Tobias Heider
sr_error takes a sr_softc and a printf like format string + varargs. There's no need to pass DEVNAME(sc) here. ok? Index: softraid.c === RCS file: /mount/openbsd/cvs/src/sys/dev/softraid.c,v retrieving revision 1.398 diff -u -p