Commit Graph

23 Commits

Author SHA1 Message Date
lukem c1ceae17f0 Enable WARNS=4 by default for usr.bin, except for:
awk  bdes  checknr  compile_et  error  gss  hxtool  kgetcred  kinit
	klist  ldd  less  lex  locale  login  m4  man  menuc  mk_cmds
	mklocale  msgc  openssl  rpcgen  rpcinfo  sdiff  spell  ssh
	string2key  telnet  tn3270  verify_krb5_conf  xlint
2009-04-14 22:15:16 +00:00
lukem af17a5d8f3 fix -Wsign-compare issues 2009-01-18 07:05:53 +00:00
perry 8b0f9554ff convert __attribute__s to applicable cdefs.h macros 2007-12-15 19:44:37 +00:00
christos b9cc3c0e19 - add volatile
- fix an missing initializer.
2006-10-22 16:25:19 +00:00
christos e90cb419e0 Coverity CID 2355: Checking event for NULL is supefluous; restructure the
code to make this obvious.
2006-04-09 18:57:10 +00:00
christos 347d6ce9be Pass lint. Also fix errx/err confusion. 2006-04-09 18:54:28 +00:00
lukem 458eb38666 Improve argument error checking.
Detected with -Wuninitialized.
2005-06-02 02:14:58 +00:00
jmmv b635f565e7 Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
agc a8d6388e6f Add NetBSD RCS Ids. 2003-06-23 13:05:47 +00:00
wiz 990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
yamt 729dff3dfb fix coredump when "command" is omitted. 2002-10-16 10:40:17 +00:00
grant be8ae688ae New sentence, new line. 2002-09-30 11:08:56 +00:00
gmcgarry 074387420c Some more Athlon counter names. 2002-06-07 05:26:45 +00:00
gmcgarry 009583c02c Athlon support. 2002-06-07 04:07:08 +00:00
gmcgarry f44a386b6f Support i586 counters. 2002-06-07 01:38:17 +00:00
gmcgarry 83e2c9f2a8 Add a DIAGNOSTIC section to clarify potential problems. 2002-06-06 21:32:37 +00:00
gmcgarry 616df6150d The most likely failure of i386_pmc_info() is that the kernel doesn't
include PMC support.  Report this to the user to give a clue as to
why pmc(1) doesn't work.
2002-06-06 21:20:42 +00:00
ross 8bd7cb6a69 Edit -mdoc usage.
* There is no -indent option to .Bd or .Bl, although you would
  never know that from its frequent use in this tree. There is a
  "-offset indent" combination that makes sense, and you can certainly
  say "-width indent".

* Also, you can't markup the -width option argument, tho you CAN
  use a callable macro. So "-width Ar filename" doesn't make sense,
  but either "-width Ar" or "-width filename" does, as might something
  like "-width xxfilename" for a little extra space.

* There are a lot of needlessly complex hanging tag macros in man4 used
  to create simple item lists. Those should be simplified one of these
  days before someone copies and edits yet another man4 page.
2002-02-07 03:15:06 +00:00
briggs 6b6638f488 Due to a typo, the kernel and user counters were getting swapped. Make
sure that they are not, so kernel events are reported as kernel events,
and user events are reported as user events.
2002-01-03 05:04:52 +00:00
thorpej 5d537fa0b9 Need <string.h> for memset() and strcmp() prototypes (noticed by
gcc 3.1).
2001-12-31 18:38:32 +00:00
wiz 48a36de9c0 Don't give .Os an argument, not even 'NetBSD' (default includes version). 2001-06-05 10:08:03 +00:00
cgd c2bdafab79 use getprogname() 2001-02-20 23:51:59 +00:00
thorpej a74afa60d2 A program for reading performance counters for execution of
a command.  From Frank van der Linden <fvdl@wasabisystems.com>.
2000-10-24 23:54:31 +00:00