From 6ba0a195e13e86dfc37e372e02a65defe79f5bb5 Mon Sep 17 00:00:00 2001 From: alnsn Date: Wed, 25 Jun 2014 11:58:15 +0000 Subject: [PATCH] New jitcode takes two arguments. --- sys/net/bpfjit.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/net/bpfjit.c b/sys/net/bpfjit.c index 428e67fc3cf3..5f3cfa530a1f 100644 --- a/sys/net/bpfjit.c +++ b/sys/net/bpfjit.c @@ -1,4 +1,4 @@ -/* $NetBSD: bpfjit.c,v 1.16 2014/06/25 11:13:28 alnsn Exp $ */ +/* $NetBSD: bpfjit.c,v 1.17 2014/06/25 11:58:15 alnsn Exp $ */ /*- * Copyright (c) 2011-2014 Alexander Nasonov. @@ -31,9 +31,9 @@ #include #ifdef _KERNEL -__KERNEL_RCSID(0, "$NetBSD: bpfjit.c,v 1.16 2014/06/25 11:13:28 alnsn Exp $"); +__KERNEL_RCSID(0, "$NetBSD: bpfjit.c,v 1.17 2014/06/25 11:58:15 alnsn Exp $"); #else -__RCSID("$NetBSD: bpfjit.c,v 1.16 2014/06/25 11:13:28 alnsn Exp $"); +__RCSID("$NetBSD: bpfjit.c,v 1.17 2014/06/25 11:58:15 alnsn Exp $"); #endif #include @@ -1650,7 +1650,7 @@ bpfjit_generate_code(const bpf_ctx_t *bc, #endif status = sljit_emit_enter(compiler, - 3, nscratches, 3, sizeof(struct bpfjit_stack)); + 2, nscratches, 3, sizeof(struct bpfjit_stack)); if (status != SLJIT_SUCCESS) goto fail;