glcd debug patch

Martin Tharby Jones <[email protected]> Tue, 17 Dec 2013 18:19:22 +0000
Newsgroups gmane.comp.sysutils.lcdproc
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------010806050401020803050601
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

I have attached a patch for a typo that causes less than helpful debug.

Seasons greetings

Martin


--------------010806050401020803050601
Content-Type: text/x-patch;
 name="glcd-debug.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="glcd-debug.patch"

Index: server/drivers/glcd-render.c
===================================================================
RCS file: /cvsroot/lcdproc/lcdproc/server/drivers/glcd-render.c,v
retrieving revision 1.5
diff -u -r1.5 glcd-render.c
--- server/drivers/glcd-render.c	27 Nov 2011 10:36:51 -0000	1.5
+++ server/drivers/glcd-render.c	17 Dec 2013 18:12:17 -0000
@@ -102,7 +102,7 @@
 		/* load the font face for freetype */
 		rc = FT_New_Face(rconf->ft_library, font_file, 0, &rconf->ft_normal_font);
 		if (rc != 0) {
-			report(RPT_ERR, "s: Creation of font '%s' failed", drvthis->name, font_file);
+			report(RPT_ERR, "%s: Creation of font '%s' failed", drvthis->name, font_file);
 			goto err_out;
 		}
 

--------------010806050401020803050601
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
LCDproc mailing list
[email protected]
http://lists.omnipotent.net/mailman/listinfo/lcdproc

--------------010806050401020803050601--