Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/npf/npfctl modules moved to /lib



details:   https://anonhg.NetBSD.org/src/rev/4cc9d71a4988
branches:  trunk
changeset: 785369:4cc9d71a4988
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Mar 10 23:57:07 2013 +0000

description:
modules moved to /lib

diffstat:

 usr.sbin/npf/npfctl/npf_extmod.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f9f84b5c7efa -r 4cc9d71a4988 usr.sbin/npf/npfctl/npf_extmod.c
--- a/usr.sbin/npf/npfctl/npf_extmod.c  Sun Mar 10 23:11:26 2013 +0000
+++ b/usr.sbin/npf/npfctl/npf_extmod.c  Sun Mar 10 23:57:07 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: npf_extmod.c,v 1.3 2012/11/15 22:20:27 rmind Exp $     */
+/*     $NetBSD: npf_extmod.c,v 1.4 2013/03/10 23:57:07 christos Exp $  */
 
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: npf_extmod.c,v 1.3 2012/11/15 22:20:27 rmind Exp $");
+__RCSID("$NetBSD: npf_extmod.c,v 1.4 2013/03/10 23:57:07 christos Exp $");
 
 #include <stdlib.h>
 #include <inttypes.h>
@@ -75,7 +75,7 @@
        void *handle;
        char extlib[PATH_MAX];
 
-       snprintf(extlib, sizeof(extlib), "/usr/lib/npf/ext_%s.so", name);
+       snprintf(extlib, sizeof(extlib), "/lib/npf/ext_%s.so", name);
        handle = dlopen(extlib, RTLD_LAZY | RTLD_LOCAL);
        if (handle == NULL) {
                errx(EXIT_FAILURE, "dlopen: %s", dlerror());



Home | Main Index | Thread Index | Old Index