summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2009-07-02 02:50:24 +0000
committerGerald Combs <gerald@wireshark.org>2009-07-02 02:50:24 +0000
commit1f6ad93f9f633f51e97f6dfc406645b4dc3dca4d (patch)
tree436a798c4fde79e95d0ed5a73b7eee44547f854d
parente0ebc32195232e1b5d96aec5f34b64932ba69bca (diff)
downloadwireshark-1f6ad93f9f633f51e97f6dfc406645b4dc3dca4d.tar.gz
Fix the build.
svn path=/trunk/; revision=28916
-rw-r--r--gtk/follow_stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/follow_stream.c b/gtk/follow_stream.c
index 2414093368..763d22162b 100644
--- a/gtk/follow_stream.c
+++ b/gtk/follow_stream.c
@@ -410,7 +410,7 @@ follow_print_stream(GtkWidget * w _U_, gpointer data)
/* Don't use tmpnam() or such, as this will fail under some ACL */
/* circumstances: http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=358 */
/* Also: tmpnam is "insecure" and should not be used. */
- tmp_fd = create_tempfile(tmp_namebuf, "wshprint");
+ tmp_fd = create_tempfile(&tmp_namebuf, "wshprint");
if(tmp_fd == -1) {
simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK,
"Couldn't create temporary file for printing:\n%s", tmp_namebuf);