diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2015-03-14 15:02:23 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2015-03-14 20:47:19 +0100 |
commit | 3cc386a41b937deea66d9ffaee51e31a934937c4 (patch) | |
tree | 1659e3e94619c26377919eaf0d5d4842ddbb90fe | |
parent | ae1443735c898c456d7d2689c867f08db97b855f (diff) | |
download | sciteco-3cc386a41b937deea66d9ffaee51e31a934937c4.tar.gz |
use g_strerror() instead of strerror() in interface-curses.cpp
-rw-r--r-- | src/interface-curses.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |