Invalid use of _cupsLangPuts() in systemv/lpstat.c
Albert Chin
china at foo.com
Fri May 12 17:48:20 PDT 2006
systemv/lpstat.c passes 3 arguments to _cupsLangPuts() when
_cupsLangPrintf() should be used instead.
--
albert chin
-- snip snip
Index: systemv/lpstat.c
===================================================================
--- systemv/lpstat.c (revision 5521)
+++ systemv/lpstat.c (working copy)
@@ -235,10 +235,10 @@
}
else
{
- _cupsLangPuts(stderr,
- _("%s: Error - expected destination after "
- "\'-b\' option!\n"),
- argv[0]);
+ _cupsLangPrintf(stderr,
+ _("%s: Error - expected destination after "
+ "\'-b\' option!\n"),
+ argv[0]);
return (1);
}
More information about the cups-devel
mailing list