Use printf, not sprintf, to print messages to stdout.

This undos the last printf->sprintf change from 8fd54ace.

Signed-off-by: Magnus Fromreide <magfr@lysator.liu.se>
diff --git a/src/main.cpp b/src/main.cpp
index a499905..d8e2a47 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -231,7 +231,7 @@
 void out_of_memory()
 {
 	reset_display();
-	sprintf("%s...\n",_("PowerTOP is out of memory. PowerTOP is Aborting"));
+	printf("%s...\n",_("PowerTOP is out of memory. PowerTOP is Aborting"));
 	abort();
 }
 
@@ -462,7 +462,7 @@
 #ifndef DISABLE_NCURSES
 	endwin();
 #endif
-	sprintf("%s\n", _("Leaving PowerTOP"));
+	printf("%s\n", _("Leaving PowerTOP"));
 
 	end_process_data();
 	clear_process_data();