aboutsummaryrefslogtreecommitdiff
path: root/share/examples/lkm/misc/test
diff options
context:
space:
mode:
Diffstat (limited to 'share/examples/lkm/misc/test')
-rw-r--r--share/examples/lkm/misc/test/Makefile6
-rw-r--r--share/examples/lkm/misc/test/testmisc.c6
2 files changed, 2 insertions, 10 deletions
diff --git a/share/examples/lkm/misc/test/Makefile b/share/examples/lkm/misc/test/Makefile
index 61bbf372708b..4ea3a98053c6 100644
--- a/share/examples/lkm/misc/test/Makefile
+++ b/share/examples/lkm/misc/test/Makefile
@@ -34,7 +34,7 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
-# $Id$
+# $Id: Makefile,v 1.2 1995/07/27 09:45:26 joerg Exp $
#
PROG= testmisc
NOMAN=
@@ -63,7 +63,3 @@ unload:
${MODSTAT} -n misc_mod
.include <bsd.prog.mk>
-
-#
-# EOF -- This file has not been truncated.
-#
diff --git a/share/examples/lkm/misc/test/testmisc.c b/share/examples/lkm/misc/test/testmisc.c
index 83f333817fc0..b4d6eeb4f899 100644
--- a/share/examples/lkm/misc/test/testmisc.c
+++ b/share/examples/lkm/misc/test/testmisc.c
@@ -47,7 +47,7 @@ main()
printf( "Table offset as reported by modstat: ");
fflush( stdout);
- if( fgets( buf, 80, stdin) == NULL) {
+ if( fgets( buf, sizeof buf, stdin) == NULL) {
printf( "[ABORT]\n");
exit( 1);
}
@@ -57,7 +57,3 @@ main()
exit( err);
}
-
-/*
- * EOF -- This file has not been truncated
- */