[gnome-commander/gcmd-1-6] Fixes wrong usage of fprintf, fixes bgo#773063
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander/gcmd-1-6] Fixes wrong usage of fprintf, fixes bgo#773063
- Date: Tue, 18 Oct 2016 16:44:42 +0000 (UTC)
commit cb00bfab8c311f13812aa2b68649cb9b6aca7c75
Author: Mamoru Tasaka <mtasaka fedoraproject org>
Date: Tue Oct 18 18:03:10 2016 +0200
Fixes wrong usage of fprintf, fixes bgo#773063
Signed-off-by: Uwe Scholz <uwescholz src gnome org>
src/gnome-cmd-gkeyfile-utils.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-cmd-gkeyfile-utils.cc b/src/gnome-cmd-gkeyfile-utils.cc
index 80b08ff..e0c6bf0 100644
--- a/src/gnome-cmd-gkeyfile-utils.cc
+++ b/src/gnome-cmd-gkeyfile-utils.cc
@@ -106,7 +106,7 @@ gboolean gcmd_key_file_save_to_file (const gchar *filename,
return FALSE;
}
- written = fprintf(fd, contents);
+ written = fprintf(fd, "%s", contents);
if (written < 0)
{
success = FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]