[brasero] fix string format
- From: Olav Vitters <ovitters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [brasero] fix string format
- Date: Wed, 28 Sep 2011 00:02:54 +0000 (UTC)
commit aed9f316002b230e7bf22f2e6102367f72b5dab6
Author: Funda Wang <fundawang gmail com>
Date: Wed Sep 28 02:02:37 2011 +0200
fix string format
plugins/libburnia/burn-libburn-common.c | 1 +
plugins/libburnia/burn-libburn.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/libburnia/burn-libburn-common.c b/plugins/libburnia/burn-libburn-common.c
index 7bc37d2..1274930 100644
--- a/plugins/libburnia/burn-libburn-common.c
+++ b/plugins/libburnia/burn-libburn-common.c
@@ -222,6 +222,7 @@ brasero_libburn_common_process_message (BraseroJob *self)
BRASERO_JOB_LOG (self, "Libburn reported an error %s", err_txt);
error = g_error_new (BRASERO_BURN_ERROR,
BRASERO_BURN_ERROR_GENERAL,
+ "%s",
err_txt);
brasero_job_error (BRASERO_JOB (self), error);
return FALSE;
diff --git a/plugins/libburnia/burn-libburn.c b/plugins/libburnia/burn-libburn.c
index 6cf25fa..41bb9a3 100644
--- a/plugins/libburnia/burn-libburn.c
+++ b/plugins/libburnia/burn-libburn.c
@@ -564,6 +564,7 @@ brasero_libburn_start_record (BraseroLibburn *self,
g_set_error (error,
BRASERO_BURN_ERROR,
BRASERO_BURN_ERROR_GENERAL,
+ "%s",
reason);
return BRASERO_BURN_ERR;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]