changeset 380:1397798646fb trunk

[svn] - change use of printf to g_warning() and g_critical() where appropriate.
author nenolod
date Thu, 14 Dec 2006 18:08:50 -0800
parents a6f5d3811def
children 53056ce7940d
files ChangeLog src/console/Audacious_Driver.cxx
diffstat 2 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Dec 13 20:21:23 2006 -0800
+++ b/ChangeLog	Thu Dec 14 18:08:50 2006 -0800
@@ -1,3 +1,11 @@
+2006-12-14 04:21:23 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [830]
+  - fix
+  
+  trunk/src/sid/xs_init.c |    2 +-
+  1 file changed, 1 insertion(+), 1 deletion(-)
+
+
 2006-12-14 03:45:13 +0000  William Pitcock <nenolod@nenolod.net>
   revision [828]
   - extension assist for libconsole
--- a/src/console/Audacious_Driver.cxx	Wed Dec 13 20:21:23 2006 -0800
+++ b/src/console/Audacious_Driver.cxx	Thu Dec 14 18:08:50 2006 -0800
@@ -40,7 +40,7 @@
 static blargg_err_t log_err( blargg_err_t err )
 {
 	if ( err )
-		printf( "console error: %s\n", err );
+		g_critical( "console error: %s\n", err );
 	return err;
 }
 
@@ -48,7 +48,7 @@
 {
 	const char* w = emu->warning();
 	if ( w )
-		printf( "console warning: %s\n", w );
+		g_warning( "console warning: %s\n", w );
 }
 
 static void unload_file()