diff --git a/usr.sbin/pstat/pstat.8 b/usr.sbin/pstat/pstat.8 index 1821d6a6e1b9..939d9228283b 100644 --- a/usr.sbin/pstat/pstat.8 +++ b/usr.sbin/pstat/pstat.8 @@ -77,7 +77,8 @@ The following options are available: .It Fl n Print devices out by major/minor instead of name. .It Fl k -Print sizes in kilobytes, regardless of the setting of the BLOCKSIZE +Print sizes in kilobytes, regardless of the setting of the +.Ev BLOCKSIZE environment variable. .It Fl T Print the number of used and free slots in the several system tables @@ -382,7 +383,9 @@ default source of tables .Ra K. Thompson .Re .Sh BUGS -Does not understand NFS swap servers. +Does not understand +.Tn NFS +swap servers. .Sh HISTORY The .Nm pstat diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c index 24fb15716bd0..e506d3087d65 100644 --- a/usr.sbin/pstat/pstat.c +++ b/usr.sbin/pstat/pstat.c @@ -270,8 +270,7 @@ main(argc, argv) break; case 'v': case 'i': /* Backward compatibility. */ - fprintf(stderr, "vnode mode not supported\n"); - exit(1); + errx(1, "vnode mode not supported"); #if 0 vnodeflag = 1; break;