aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
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 one_measurement(int seconds, char *workload)
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 @@ int main(int argc, char **argv)
#ifndef DISABLE_NCURSES
endwin();
#endif
- sprintf("%s\n", _("Leaving PowerTOP"));
+ printf("%s\n", _("Leaving PowerTOP"));
end_process_data();
clear_process_data();