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
This commit is contained in:
Guy Harris 2005-03-28 03:08:29 +00:00
parent 9385c4b868
commit d11694e340
1 changed files with 1 additions and 1 deletions

View File

@ -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