[vte] Use errsv here instead of errno
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] Use errsv here instead of errno
- Date: Wed, 17 Mar 2010 22:01:28 +0000 (UTC)
commit fb2739a358ae8f4775150f54745e16be698775db
Author: Christian Persch <chpe gnome org>
Date: Wed Mar 17 22:34:16 2010 +0100
Use errsv here instead of errno
src/pty.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/pty.c b/src/pty.c
index 503b405..453c01e 100644
--- a/src/pty.c
+++ b/src/pty.c
@@ -634,7 +634,7 @@ vte_pty_set_size(VtePty *pty,
g_set_error(error, G_IO_ERROR,
g_io_error_from_errno(errsv),
"Failed to set window size: %s",
- g_strerror(errno));
+ g_strerror(errsv));
_vte_debug_print(VTE_DEBUG_PTY,
"Failed to set size on %d: %s.\n",
@@ -699,7 +699,7 @@ vte_pty_get_size(VtePty *pty,
g_set_error(error, G_IO_ERROR,
g_io_error_from_errno(errsv),
"Failed to get window size: %s",
- g_strerror(errno));
+ g_strerror(errsv));
_vte_debug_print(VTE_DEBUG_PTY,
"Failed to read size from fd %d: %s\n",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]