diff options
Diffstat (limited to 'share/examples/lkm/misc/test/testmisc.c')
-rw-r--r-- | share/examples/lkm/misc/test/testmisc.c | 6 |
1 files changed, 1 insertions, 5 deletions
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 - */ |