DragonFly BSD
DragonFly submit List (threaded) for 2003-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

vmstat diagnostic output fix


From: corecode@xxxxxxxxxxxx (Simon 'corecode' Schubert)
Date: Thu, 28 Aug 2003 23:30:13 +0200 (CEST)

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)) {



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]