freebsd-ports/sysutils/xosview/files/patch-bsd::cpumeter.cc
Sergey A. Osokin 1dba9f3c91 Fix build on -CURRENT.
Also:
- replace <xxx> with <xxx.h> due to Standard C++.
- In my observation, when include "devstats.h",
- In 4.x or earlier version, we use checkversion(), getnumdevs() ...
  But In 5.x, it should be repalce with devstat_checkversion(kvm_t *),
  devstat_getnumdevs(kvm_t *) respectively.
  In summary, function in 4.x's devstats.h can add prefix word "devstat

Submitted by:		Cheng-Lung Sung <clsung@dragon2.net>
Maintainership to:	submitter
PR:			58596
2003-10-28 14:53:44 +00:00

21 lines
1 KiB
C++

--- bsd/cpumeter.cc.orig Tue Oct 28 17:42:56 2003
+++ bsd/cpumeter.cc Tue Oct 28 17:43:20 2003
@@ -123,12 +123,12 @@
static int firstTime = 1;
if (firstTime) {
fprintf(stderr,
-" Warning: the CPU tick counters are not changing. This could
-be due to running a kernel besides /netbsd (or the equivalent for FreeBSD).
- If this is the case, re-run xosview with the -N kernel-name option.
- If not, then this is a bug. Please send a message to
-bgrayson@ece.utexas.edu, in addition to any send-pr bug reports
-(or in lieu of -- it ought to get fixed faster if you contact me
+" Warning: the CPU tick counters are not changing. This could \
+be due to running a kernel besides /netbsd (or the equivalent for FreeBSD). \
+ If this is the case, re-run xosview with the -N kernel-name option. \
+ If not, then this is a bug. Please send a message to \
+bgrayson@ece.utexas.edu, in addition to any send-pr bug reports \
+(or in lieu of -- it ought to get fixed faster if you contact me \
directly). Thanks!\n");
firstTime = 0;
}