aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-02-03 18:39:52 +0000
committerGuy Harris <guy@alum.mit.edu>2004-02-03 18:39:52 +0000
commit1d7a46d03954dae6890d990f2cadae4e6e04ff86 (patch)
tree9945d3f83b09d5ee3031cfb6683a8b0898d37c09
parentc6ddebb4e6e9054befb51aa1f57f0014dd5a0b44 (diff)
Add a missing "%s" to the format string.
svn path=/trunk/; revision=9967
-rw-r--r--capture.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/capture.c b/capture.c
index 1d970cb855..cdd54857e0 100644
--- a/capture.c
+++ b/capture.c
@@ -1,7 +1,7 @@
/* capture.c
* Routines for packet capture windows
*
- * $Id: capture.c,v 1.233 2004/02/03 17:59:00 ulfl Exp $
+ * $Id: capture.c,v 1.234 2004/02/03 18:39:52 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1536,7 +1536,7 @@ capture(gboolean *stats_known, struct pcap_stat *stats)
/* filter string invalid, did the user tried a display filter? */
if (dfilter_compile(cfile.cfilter, &rfcode) && rfcode != NULL) {
snprintf(errmsg, sizeof errmsg,
- "%sInvalid capture filter: \"%s\"!%s\n"
+ "%sInvalid capture filter: \"%s\"!%s%s\n"
"\n"
"That string looks like a valid display filter.\n"
"\n"