summaryrefslogtreecommitdiffstats
path: root/contrib/libpcap/grammar.y
diff options
context:
space:
mode:
authorfenner <fenner@FreeBSD.org>1997-05-27 00:01:12 +0000
committerfenner <fenner@FreeBSD.org>1997-05-27 00:01:12 +0000
commit737558aa98d3b86de65ff8e1fd0fe39d5debcde7 (patch)
treede061620aa05599ec749d528046e58091ef80529 /contrib/libpcap/grammar.y
parent498933506f435a155849919ee10bbdbc9ad42caa (diff)
downloadFreeBSD-src-737558aa98d3b86de65ff8e1fd0fe39d5debcde7.zip
FreeBSD-src-737558aa98d3b86de65ff8e1fd0fe39d5debcde7.tar.gz
Virgin import of libpcap 0.3
Diffstat (limited to 'contrib/libpcap/grammar.y')
-rw-r--r--contrib/libpcap/grammar.y6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/libpcap/grammar.y b/contrib/libpcap/grammar.y
index 283e2ea..6bc9157 100644
--- a/contrib/libpcap/grammar.y
+++ b/contrib/libpcap/grammar.y
@@ -21,8 +21,8 @@
*
*/
#ifndef lint
-static char rcsid[] =
- "@(#) $Header: grammar.y,v 1.54 96/07/17 00:11:34 leres Exp $ (LBL)";
+static const char rcsid[] =
+ "@(#) $Header: grammar.y,v 1.56 96/11/02 21:54:55 leres Exp $ (LBL)";
#endif
#include <sys/types.h>
@@ -63,7 +63,7 @@ static void
yyerror(char *msg)
{
++n_errors;
- bpf_error(msg);
+ bpf_error("%s", msg);
/* NOTREACHED */
}
OpenPOWER on IntegriCloud