summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2018-03-13 10:42:03 +0100
committerChristian Beier <dontmind@freeshell.org>2018-03-13 10:42:03 +0100
commitc49204c815687da49f0f62c462041506bc23822b (patch)
tree955ef345328edfb6bd0dd0e49715ea253efa1b8d
parent8d4d0219666e8746dee55c678a25f92c29cfc441 (diff)
downloadlibtdevnc-c49204c815687da49f0f62c462041506bc23822b.tar.gz
libtdevnc-c49204c815687da49f0f62c462041506bc23822b.zip
androidvncserver: fix print_usage and a compiler warning
-rw-r--r--examples/androidvncserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/androidvncserver.c b/examples/androidvncserver.c
index a7a9685..885a7ef 100644
--- a/examples/androidvncserver.c
+++ b/examples/androidvncserver.c
@@ -460,7 +460,7 @@ void print_usage(char **argv)
printf("%s [-k device] [-t device] [-h]\n"
"-k device: keyboard device node, default is /dev/input/event3\n"
"-t device: touch device node, default is /dev/input/event1\n"
- "-h : print this help\n");
+ "-h : print this help\n", argv[0]);
}
int main(int argc, char **argv)