jobd: fix accidental scalarification in ferror()
authorJan Krüger <jk@jk.gs>
Wed, 24 Nov 2010 19:28:01 +0000 (20:28 +0100)
committerKyle J. McKay <mackyle@gmail.com>
Fri, 31 May 2013 11:37:01 +0000 (04:37 -0700)
commitef04a4eb790dc765e8027ec1c0776366cb200c9c
tree3059236eaf6dac26b38da450e2804c1d21893d84
parentd4b0bed9e97dd1c874aaf65a9a0cea5d2fb36cfc
jobd: fix accidental scalarification in ferror()

Turns out that sprintf() expects a scalar as its first argument, so we
unwittingly turned the entire argument list of ferror() into a scalar.
So, instead, use the first argument separately when calling sprintf().

Signed-off-by: Jan Krüger <jk@jk.gs>
jobd/jobd.pl