diff --git a/usr.bin/nfsstat/nfsstat.c b/usr.bin/nfsstat/nfsstat.c index 3c08a551a78e..a68050c889f7 100644 --- a/usr.bin/nfsstat/nfsstat.c +++ b/usr.bin/nfsstat/nfsstat.c @@ -60,6 +60,7 @@ static const char rcsid[] = #include #include #include +#include #include #include #include @@ -96,7 +97,7 @@ main(argc, argv) int serverOnly = -1; int ch; char *memf, *nlistf; - char errbuf[80]; + char errbuf[_POSIX2_LINE_MAX]; interval = 0; memf = nlistf = NULL;