aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-05 23:31:53 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-05 23:31:53 +0200
commite88224312e452faa70dae53a4d01cd6d594247da (patch)
tree8503f2b9f2dbd87cbe916dc38db7b77a3b473ffa /src
parent6b83fe245bf6745df4b2ae0ab5dda43e8632c50c (diff)
downloadlibpam-freerdp2-e88224312e452faa70dae53a4d01cd6d594247da.tar.gz
libpam-freerdp2-e88224312e452faa70dae53a4d01cd6d594247da.tar.bz2
libpam-freerdp2-e88224312e452faa70dae53a4d01cd6d594247da.zip
freerdp2-auth-check: Improve error message for incorrect number of parameter.
Diffstat (limited to 'src')
-rw-r--r--src/freerdp2-auth-check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/freerdp2-auth-check.c b/src/freerdp2-auth-check.c
index 542504f..04558fb 100644
--- a/src/freerdp2-auth-check.c
+++ b/src/freerdp2-auth-check.c
@@ -52,8 +52,8 @@ main (int argc, char * argv[])
{
char password[512];
if (argc != 4) {
- printf("Not enough params\n\n");
printf("Usage: echo <passwd> | freerdp2-auth-check <host>[:<port>] <user> <domain>\n\n");
+ printf("ERROR: Incorrect number of parameters.\n\n");
return -1;
}