summaryrefslogtreecommitdiffstats
path: root/xrdp
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2016-04-10 13:49:00 -0700
committerPavel Roskin <plroskin@gmail.com>2016-04-21 21:21:15 -0700
commitbd0b1acf794b2552b13bd4185c8eef91b2d9784c (patch)
tree7b7d220d9cad6c6c7ca3f52867d7c5b97f8ccd34 /xrdp
parent55e12a09d8297c62302a9a93414444f00dc8ec1c (diff)
downloadxrdp-proprietary-bd0b1acf794b2552b13bd4185c8eef91b2d9784c.tar.gz
xrdp-proprietary-bd0b1acf794b2552b13bd4185c8eef91b2d9784c.zip
Fix format warnings caused by g_writeln("")
Diffstat (limited to 'xrdp')
-rw-r--r--xrdp/xrdpwin.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/xrdp/xrdpwin.c b/xrdp/xrdpwin.c
index 95669fa6..224efc0c 100644
--- a/xrdp/xrdpwin.c
+++ b/xrdp/xrdpwin.c
@@ -344,16 +344,16 @@ main(int argc, char **argv)
g_strncasecmp(argv[1], "--help", 255) == 0 ||
g_strncasecmp(argv[1], "-h", 255) == 0)
{
- g_writeln("");
+ g_writeln("%s", "");
g_writeln("xrdp: A Remote Desktop Protocol server.");
g_writeln("Copyright (C) Jay Sorg 2004-2011");
g_writeln("See http://xrdp.sourceforge.net for more information.");
- g_writeln("");
+ g_writeln("%s", "");
g_writeln("Usage: xrdp [options]");
g_writeln(" -h: show help");
g_writeln(" -install: install service");
g_writeln(" -remove: remove service");
- g_writeln("");
+ g_writeln("%s", "");
g_exit(0);
}
else if (g_strncasecmp(argv[1], "-install", 255) == 0 ||
@@ -423,7 +423,7 @@ main(int argc, char **argv)
{
g_writeln("Unknown Parameter");
g_writeln("xrdp -h for help");
- g_writeln("");
+ g_writeln("%s", "");
g_exit(0);
}
}
@@ -431,7 +431,7 @@ main(int argc, char **argv)
{
g_writeln("Unknown Parameter");
g_writeln("xrdp -h for help");
- g_writeln("");
+ g_writeln("%s", "");
g_exit(0);
}
@@ -499,34 +499,34 @@ main(int argc, char **argv)
g_strncasecmp(argv[1], "--help", 255) == 0 ||
g_strncasecmp(argv[1], "-h", 255) == 0)
{
- g_writeln("");
+ g_writeln("%s", "");
g_writeln("xrdp: A Remote Desktop Protocol server.");
g_writeln("Copyright (C) Jay Sorg 2004-2011");
g_writeln("See http://xrdp.sourceforge.net for more information.");
- g_writeln("");
+ g_writeln("%s", "");
g_writeln("Usage: xrdp [options]");
g_writeln(" -h: show help");
g_writeln(" -nodaemon: don't fork into background");
g_writeln(" -kill: shut down xrdp");
- g_writeln("");
+ g_writeln("%s", "");
g_exit(0);
}
else if ((g_strncasecmp(argv[1], "-v", 255) == 0) ||
(g_strncasecmp(argv[1], "--version", 255) == 0))
{
- g_writeln("");
+ g_writeln("%s", "");
g_writeln("xrdp: A Remote Desktop Protocol server.");
g_writeln("Copyright (C) Jay Sorg 2004-2011");
g_writeln("See http://xrdp.sourceforge.net for more information.");
g_writeln("Version %s", PACKAGE_VERSION);
- g_writeln("");
+ g_writeln("%s", "");
g_exit(0);
}
else
{
g_writeln("Unknown Parameter");
g_writeln("xrdp -h for help");
- g_writeln("");
+ g_writeln("%s", "");
g_exit(0);
}
}
@@ -534,7 +534,7 @@ main(int argc, char **argv)
{
g_writeln("Unknown Parameter");
g_writeln("xrdp -h for help");
- g_writeln("");
+ g_writeln("%s", "");
g_exit(0);
}