Module Name: src
Committed By: christos
Date: Sun Mar 10 23:57:07 UTC 2013
Modified Files:
src/usr.sbin/npf/npfctl: npf_extmod.c
Log Message:
modules moved to /lib
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/npf/npfctl/npf_extmod.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/npf/npfctl/npf_extmod.c
diff -u src/usr.sbin/npf/npfctl/npf_extmod.c:1.3 src/usr.sbin/npf/npfctl/npf_extmod.c:1.4
--- src/usr.sbin/npf/npfctl/npf_extmod.c:1.3 Thu Nov 15 17:20:27 2012
+++ src/usr.sbin/npf/npfctl/npf_extmod.c Sun Mar 10 19:57:07 2013
@@ -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 @@ npf_extmod_load(const char *name)
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());