summaryrefslogtreecommitdiff
path: root/sys/modules/lua/lua.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2014-07-25 08:10:31 +0000
committerdholland <dholland@NetBSD.org>2014-07-25 08:10:31 +0000
commit1a918832aa7d8748d0b53b202917f36e6949d407 (patch)
tree143c2d6fd85ee470bb3a71e3c3f3ab0826ffa0cc /sys/modules/lua/lua.c
parentda8feef99a1863b3cdff350f8a1a089d34d09185 (diff)
Add d_discard to all struct cdevsw instances I could find.
All have been set to "nodiscard"; some should get a real implementation.
Diffstat (limited to 'sys/modules/lua/lua.c')
-rw-r--r--sys/modules/lua/lua.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/modules/lua/lua.c b/sys/modules/lua/lua.c
index 636ec326d18..33f19fd04bb 100644
--- a/sys/modules/lua/lua.c
+++ b/sys/modules/lua/lua.c
@@ -1,4 +1,4 @@
-/* $NetBSD: lua.c,v 1.12 2014/07/19 18:38:35 lneto Exp $ */
+/* $NetBSD: lua.c,v 1.13 2014/07/25 08:10:40 dholland Exp $ */
/*
* Copyright (c) 2014 by Lourival Vieira Neto <lneto@NetBSD.org>.
@@ -104,6 +104,7 @@ const struct cdevsw lua_cdevsw = {
.d_poll = nopoll,
.d_mmap = nommap,
.d_kqfilter = nokqfilter,
+ .d_discard = nodiscard,
.d_flag = D_OTHER | D_MPSAFE
};