aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/follow_tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gtk/follow_tcp.c')
-rw-r--r--ui/gtk/follow_tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/follow_tcp.c b/ui/gtk/follow_tcp.c
index aece6aabd6..369a756b3e 100644
--- a/ui/gtk/follow_tcp.c
+++ b/ui/gtk/follow_tcp.c
@@ -142,7 +142,7 @@ follow_tcp_stream_cb(GtkWidget * w _U_, gpointer data _U_)
return;
}
- data_out_file = fdopen(tmp_fd, "w+b");
+ data_out_file = ws_fdopen(tmp_fd, "w+b");
if (data_out_file == NULL) {
simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK,
"Could not create temporary file %s: %s",