Commit Graph

24 Commits

Author SHA1 Message Date
lukem 9c1945664c Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
2008-07-21 13:36:57 +00:00
dogcow aec3ddbeb5 WARNS=4 makes gcc whine about missing initializers; add them. 2007-05-04 22:07:16 +00:00
christos a8bdc6a195 WARNS=4, pass lint 2007-05-04 16:19:43 +00:00
dyoung 595db2454b While I am here, KNF err(3) and errx(3) usage. Compare a pointer
with NULL instead of 0.
2006-08-13 00:20:25 +00:00
dyoung 4329d94fb4 Check for fwrite(3) error returns, and exit with an error message,
instead of silently failing.
2006-08-13 00:19:30 +00:00
christos 2a8477a7f9 Coverity CID 1860: Plug memory leak. 2006-05-25 00:07:59 +00:00
christos aa0a3ef501 Sprinkle static and use err/errx/warn instead of fprintf/perror 2006-05-25 00:05:45 +00:00
perry 1ef7bd2aae de-__P, ANSIfy function declarations, remove an obsolete register declaration. 2005-02-06 04:48:58 +00:00
drochner 9f230230dc There is no point in passing "/netbsd" as namelist to kvm_open.
libkvm knows better.
2005-01-27 18:12:47 +00:00
hira b1440f782d usage: Add -d. Use getprogname().
Reviewed by uebayasi@.  This closes PR bin/26685.
2004-11-17 13:32:16 +00:00
agc 326b2259b7 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22366, verified by myself.
2003-08-07 11:25:11 +00:00
eeh 780f68fd71 Add a flag to turn on debugging so you don't need to recompile or patch
the binary to turn it on.
2000-08-03 21:14:19 +00:00
lukem 3e8e744696 getopt returns -1 not EOF 1997-11-01 06:49:14 +00:00
enami a5372bf523 Add missing newline at the end of exit message. 1997-10-23 12:35:12 +00:00
enami 7ffe3c6167 Make this compile on NetBSD/alpha; to print size_t variable,
- use %lu instead of %d.
- cast the variable to (u_long) so that this also compiled on NetBSD/i386.
1997-10-23 12:26:02 +00:00
mrg d71f6e87ae clean up, WARNS. 1997-10-18 17:31:35 +00:00
lukem 149f1867d1 rcsid fascism 1997-10-18 04:36:50 +00:00
cgd 191b5f2e5b be safe with types 1994-12-23 16:45:33 +00:00
mycroft c250a07889 Fix up RCS ids. 1994-06-11 07:50:42 +00:00
pk 7bb1d93324 update to 4.4-lite. 1994-06-10 12:10:58 +00:00
cgd 7a6e889600 kill bad casts 1994-03-30 02:28:43 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mrg c78c6a22ab 4.4BSD-Lite2 1993-06-06 20:58:02 +00:00
cgd 36adb5cb3d added kgmon, from net-2. should work fine, because kernel does profiling
support correctly of config'd w/"-p"
1993-03-31 17:19:52 +00:00