summaryrefslogtreecommitdiffstats
path: root/libssh/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/error.c')
-rw-r--r--libssh/error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/error.c b/libssh/error.c
index 36fed43..b44ab40 100644
--- a/libssh/error.c
+++ b/libssh/error.c
@@ -36,7 +36,7 @@
*/
/* ssh_set_error registers an error with a description. the error code is the class of error, and description is obvious.*/
-void ssh_set_error(void *error,int code,char *descr,...){
+void ssh_set_error(void *error, int code, const char *descr, ...) {
struct error_struct *err= error;
va_list va;
va_start(va,descr);