From 3cc386a41b937deea66d9ffaee51e31a934937c4 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sat, 14 Mar 2015 15:02:23 +0100 Subject: use g_strerror() instead of strerror() in interface-curses.cpp --- src/interface-curses.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interface-curses.cpp b/src/interface-curses.cpp index cc6ccd1..008b2db 100644 --- a/src/interface-curses.cpp +++ b/src/interface-curses.cpp @@ -181,7 +181,7 @@ InterfaceCurses::init_interactive(void) if (!g_freopen("/dev/tty", "r+b", screen_tty)) { /* no controlling terminal, process detached? */ g_fprintf(stderr, "Error initializing interactice mode: %s\n", - strerror(errno)); + g_strerror(errno)); exit(EXIT_FAILURE); } -- cgit v1.2.3