summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pstat/pstat.c
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1999-11-27 17:03:07 +0000
committercharnier <charnier@FreeBSD.org>1999-11-27 17:03:07 +0000
commitf0ff569fe443d594f2727acf5958c48b228f1ec4 (patch)
tree09183132323ee84743fb31c8772505a947ff6128 /usr.sbin/pstat/pstat.c
parentf0a54e207a2033aa746034fbc6711daa1dcd1ef5 (diff)
downloadFreeBSD-src-f0ff569fe443d594f2727acf5958c48b228f1ec4.zip
FreeBSD-src-f0ff569fe443d594f2727acf5958c48b228f1ec4.tar.gz
Merge fprintf and exit into errx.
Use .Ev for environment variable.
Diffstat (limited to 'usr.sbin/pstat/pstat.c')
-rw-r--r--usr.sbin/pstat/pstat.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c
index 24fb157..e506d30 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;
OpenPOWER on IntegriCloud