main: use g_print properly

Change-Id: I1c66333690818f1331874a37dc853373e5791f68