vmstat diagnostic output fix

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Thu Aug 28 14:59:49 PDT 2003


small fix of diagnostic output
Index: vmstat.c
===================================================================
RCS file: /home/dcvs/src/usr.bin/vmstat/vmstat.c,v
retrieving revision 1.4
diff -u -r1.4 vmstat.c
--- vmstat.c	30 Jul 2003 05:19:54 -0000	1.4
+++ vmstat.c	28 Aug 2003 21:27:10 -0000
@@ -464,7 +464,7 @@
 			exit(1);
 		}
 		if (sysctlbyname("vm.vmmeter", &vmm, &vmm_size, NULL, 0)) {
-			perror("sysctlbyname: vm.vmstats");
+			perror("sysctlbyname: vm.vmmeter");
 			exit(1);
 		} 
 		if (sysctlbyname("vm.vmtotal", &total, &vmt_size, NULL, 0)) {





More information about the Submit mailing list