aboutsummaryrefslogtreecommitdiffstats
path: root/src/handerror.c
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2021-02-22 11:58:37 +0000
committerJoursoir <chat@joursoir.net>2021-02-22 11:58:37 +0000
commit51abd93e4dddf4682f260d192b680be3ba1a0585 (patch)
treecb1d66f5a10d162c9c2cf0abd978ec6b8b62a090 /src/handerror.c
parentc99acd1211e967a87ab7a0de3fb8a569b19fd0b2 (diff)
downloadlock-password-51abd93e4dddf4682f260d192b680be3ba1a0585.tar.gz
lock-password-51abd93e4dddf4682f260d192b680be3ba1a0585.tar.bz2
lock-password-51abd93e4dddf4682f260d192b680be3ba1a0585.zip
change recognizing of commands; many printf -> one printf
Diffstat (limited to 'src/handerror.c')
-rw-r--r--src/handerror.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handerror.c b/src/handerror.c
index 35e8f28..218619d 100644
--- a/src/handerror.c
+++ b/src/handerror.c
@@ -9,7 +9,7 @@ void callError(int num)
exit(3);
}
-void printError(char *text)
+void printError(const char *text)
{
fprintf(stderr, "%s", text);
exit(4);