diff options
Diffstat (limited to 'usr.sbin/mtest')
-rw-r--r-- | usr.sbin/mtest/mtest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/mtest/mtest.c b/usr.sbin/mtest/mtest.c index f13bf49..b0ccef1 100644 --- a/usr.sbin/mtest/mtest.c +++ b/usr.sbin/mtest/mtest.c @@ -39,7 +39,7 @@ main( argc, argv ) printf( "multicast membership test program; " ); printf( "enter ? for list of commands\n" ); - while( fgets( line, 79, stdin ) != NULL ) + while( fgets( line, sizeof(line) - 1, stdin ) != NULL ) { lineptr = line; while( *lineptr == ' ' || *lineptr == '\t' ) ++lineptr; |