summaryrefslogtreecommitdiff
path: root/extcap
diff options
context:
space:
mode:
Diffstat (limited to 'extcap')
-rw-r--r--extcap/ssh-base.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extcap/ssh-base.c b/extcap/ssh-base.c
index cc50417137..87c364f972 100644
--- a/extcap/ssh-base.c
+++ b/extcap/ssh-base.c
@@ -40,12 +40,12 @@ ssh_session create_ssh_connection(const char* hostname, const unsigned int port,
/* Open session and set options */
sshs = ssh_new();
if (sshs == NULL) {
- *err_info = g_strdup_printf("Can't create ssh session");
+ *err_info = g_strdup("Can't create ssh session");
return NULL;
}
if (!hostname) {
- *err_info = g_strdup_printf("Hostname needed");
+ *err_info = g_strdup("Hostname needed");
goto failure;
}