summaryrefslogtreecommitdiffstats
path: root/share/examples/lkm/misc/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'share/examples/lkm/misc/test/Makefile')
-rw-r--r--share/examples/lkm/misc/test/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/share/examples/lkm/misc/test/Makefile b/share/examples/lkm/misc/test/Makefile
index 466e4ac..61bbf37 100644
--- a/share/examples/lkm/misc/test/Makefile
+++ b/share/examples/lkm/misc/test/Makefile
@@ -34,10 +34,13 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
-
+# $Id$
+#
PROG= testmisc
NOMAN=
+MODSTAT= /usr/bin/modstat
+
load:
@echo "This test program will call the sample system call;"
@echo "the "offset requested will be shown as 'Off' in the"
@@ -48,7 +51,7 @@ load:
@echo "system console each time it is run."
@echo
@echo
- /sbin/modstat -n miscmod
+ ${MODSTAT} -n misc_mod
@echo
@./testmisc
@@ -57,7 +60,7 @@ unload:
@echo "has been successfully unloaded by building 'unload' in"
@echo "the 'module' subdirectory."
@echo
- /sbin/modstat -n miscmod
+ ${MODSTAT} -n misc_mod
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud