aboutsummaryrefslogtreecommitdiffstats
path: root/capture_opts.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-03-28 03:08:29 +0000
committerGuy Harris <guy@alum.mit.edu>2005-03-28 03:08:29 +0000
commitd11694e340b0a927f129f0bf437dcf637c7d593d (patch)
treebfc46ec7b56ddda3ba9cfb05e2a186e755f698ae /capture_opts.c
parent9385c4b8689d3a6e7411c1c9ee21d6be8ece6a63 (diff)
The "cf" field of a "capture_options" structure is a "void *" and, in
practice, it points to a "capture_file" structure; print it with "%p", not "%s". svn path=/trunk/; revision=13952
Diffstat (limited to 'capture_opts.c')
-rw-r--r--capture_opts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/capture_opts.c b/capture_opts.c
index ccf73f62bb..1f4a32cd73 100644
--- a/capture_opts.c
+++ b/capture_opts.c
@@ -90,7 +90,7 @@ capture_opts_init(capture_options *capture_opts, void *cfile)
void
capture_opts_info(capture_options *capture_opts) {
g_warning("CAPTURE OPTIONS :");
- g_warning("File : %s", capture_opts->cf);
+ g_warning("File : %p", capture_opts->cf);
g_warning("Filter : %s", capture_opts->cfilter);
g_warning("Interface : %s", capture_opts->iface);
#ifdef _WIN32