[X2Go-Commits] [x2gobroker] 01/01: src/x2gobroker-{agent, ssh}.c: fix more compile errors.

git-admin at x2go.org git-admin at x2go.org
Tue Nov 13 16:52:05 CET 2018


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2gobroker.

commit ccee03783694461bb6503c7c51295b3a65c0c092
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Tue Nov 13 16:51:53 2018 +0100

    src/x2gobroker-{agent,ssh}.c: fix more compile errors.
---
 debian/changelog       | 1 +
 src/x2gobroker-agent.c | 4 ++--
 src/x2gobroker-ssh.c   | 4 ++--
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index cd0d7f7..f2bc8ba 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -122,6 +122,7 @@ x2gobroker (0.0.4.0-0x2go1) UNRELEASED; urgency=medium
     - Makefile: make sure that we actually append our custom CFLAGS and
       LDFLAGS values, even if passed in through the make command line.
     - src/x2gobroker-{agent,ssh}.c: fix compile warnings/errors.
+    - src/x2gobroker-{agent,ssh}.c: fix more compile errors.
   * x2gobroker.spec:
     - Add %debug_package macro when debugging is to be enabled, hoping that it
       will actually generate proper debuginfo (and -source) sub packages
diff --git a/src/x2gobroker-agent.c b/src/x2gobroker-agent.c
index 60e7c5b..39d7eda 100644
--- a/src/x2gobroker-agent.c
+++ b/src/x2gobroker-agent.c
@@ -35,9 +35,9 @@ int main( int argc, char *argv[] ) {
 
 	if (ret) {
 		fprintf (stderr, "unable to execute script '");
-		fprintf (stderr, TRUSTED_BINARY);
+		fprintf (stderr, "%s", TRUSTED_BINARY);
 		fprintf (stderr, "': ");
-		fprintf (stderr, strerror (saved_errno));
+		fprintf (stderr, "%s", strerror (saved_errno));
 
 		return (EXIT_FAILURE);
 	}
diff --git a/src/x2gobroker-ssh.c b/src/x2gobroker-ssh.c
index ede5781..e091980 100644
--- a/src/x2gobroker-ssh.c
+++ b/src/x2gobroker-ssh.c
@@ -35,9 +35,9 @@ int main( int argc, char *argv[] ) {
 
 	if (ret) {
 		fprintf (stderr, "unable to execute script '");
-		fprintf (stderr, TRUSTED_BINARY);
+		fprintf (stderr, "%s", TRUSTED_BINARY);
 		fprintf (stderr, "': ");
-		fprintf (stderr, strerror (saved_errno));
+		fprintf (stderr, "%s", strerror (saved_errno));
 
 		return (EXIT_FAILURE);
 	}

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git


More information about the x2go-commits mailing list