aboutsummaryrefslogtreecommitdiffstats
path: root/extcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'extcap.c')
-rw-r--r--extcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extcap.c b/extcap.c
index 0132f01172..b8a1fd7d2a 100644
--- a/extcap.c
+++ b/extcap.c
@@ -1137,7 +1137,7 @@ void extcap_if_cleanup(capture_options *capture_opts, gchar **errormsg)
ws_read_string_from_pipe(ws_get_pipe_handle(pipedata->stderr_fd), buffer, STDERR_BUFFER_SIZE + 1);
if (strlen(buffer) > 0)
{
- pipedata->stderr_msg = g_strdup_printf("%s", buffer);
+ pipedata->stderr_msg = g_strdup(buffer);
pipedata->exitcode = 1;
}
g_free(buffer);