From d4b0bed9e97dd1c874aaf65a9a0cea5d2fb36cfc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Kr=C3=BCger?= Date: Wed, 24 Nov 2010 20:23:26 +0100 Subject: [PATCH] jobd: fix an invocation of error to use ferror MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit One invocation that should have used ferror() due to using a format string used error() instead. Fix that. Signed-off-by: Jan Krüger --- jobd/jobd.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jobd/jobd.pl b/jobd/jobd.pl index 98f5882..9b8b748 100755 --- a/jobd/jobd.pl +++ b/jobd/jobd.pl @@ -261,7 +261,7 @@ sub run_queue { $jobs_skipped = 0; @jobs_killed = (); if ($progress) { - error("--- Processing %d queued jobs", scalar(@queue)); + ferror("--- Processing %d queued jobs", scalar(@queue)); } $SIG{'INT'} = \&handle_softexit; $SIG{'TERM'} = \&handle_exit; -- 2.11.4.GIT