aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dumpcap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dumpcap.c b/dumpcap.c
index 5e1a7f32e7..05d40b5989 100644
--- a/dumpcap.c
+++ b/dumpcap.c
@@ -2771,7 +2771,8 @@ capture_loop_open_input(capture_options *capture_opts, loop_data *ld,
"Couldn't initialize Windows Sockets: error %d", err);
break;
}
- g_snprintf(secondary_errmsg, (gulong) secondary_errmsg_len, please_report_bug());
+ g_snprintf(secondary_errmsg, (gulong) secondary_errmsg_len, "%s",
+ please_report_bug());
return FALSE;
}
#endif