[gnome-shell] recorder: Print absolute path if output file can't be opened



commit d658a5148ae2442b66a7dbdce16ec3db3180cd01
Author: Timm Bäder <mail baedert org>
Date:   Fri Aug 19 19:10:28 2016 +0200

    recorder: Print absolute path if output file can't be opened

 src/shell-recorder.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/shell-recorder.c b/src/shell-recorder.c
index 981b7d1..cb2e93f 100644
--- a/src/shell-recorder.c
+++ b/src/shell-recorder.c
@@ -1075,7 +1075,7 @@ recorder_open_outfile (ShellRecorder  *recorder,
 
       if (outfile == -1 && errno != EEXIST)
         {
-          g_warning ("Cannot open output file '%s': %s", filename->str, g_strerror (errno));
+          g_warning ("Cannot open output file '%s': %s", path, g_strerror (errno));
           g_string_free (filename, TRUE);
           g_free (path);
           goto out;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]