[yelp] fix format string
- From: Olav Vitters <ovitters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp] fix format string
- Date: Mon, 26 Sep 2011 22:27:57 +0000 (UTC)
commit d9d6f06bcd90ccab5a7f10cc3f505afb2994e2dd
Author: Dexter Morgan <dmorganec gmail com>
Date: Tue Sep 27 00:27:38 2011 +0200
fix format string
libyelp/yelp-man-parser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libyelp/yelp-man-parser.c b/libyelp/yelp-man-parser.c
index 3c75642..25b0f0c 100644
--- a/libyelp/yelp-man-parser.c
+++ b/libyelp/yelp-man-parser.c
@@ -380,7 +380,7 @@ get_troff (gchar *path, GError **error)
NULL, NULL, &ystdout, NULL, &err)) {
/* We failed to run the man program. Return a "Huh?" error. */
*error = g_error_new (YELP_ERROR, YELP_ERROR_UNKNOWN,
- err->message);
+ "%s", err->message);
g_error_free (err);
return NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]