Commit Graph

8 Commits

Author SHA1 Message Date
Bruce Evans
99fb10656e Don't follow a null pointer for the reporting error if kvm_openfiles() fails.
Don't ever pretend that the program is named "." and has no args.
1994-11-14 07:54:06 +00:00
Jordan K. Hubbard
bf9e2e599f From: John Hay <jhay@mikom.csir.co.za>
Make swapinfo use libc functions for obtaining device information.

Note:  swapinfo should actually be deprecated, not fixed.  pstat -s performs
the same function.
Submitted by:	jhay
1994-10-26 14:49:07 +00:00
David Greenman
ceff08fff5 Modified to use swaplist instead of swapmap. 1994-10-09 07:45:58 +00:00
David Greenman
29568da84a After a comment from Rod Grimes about buf.h, I went back and looked at this
and found that swapinfo doesn't need that include file and five others (!).
Sheesh.
1994-10-05 10:20:17 +00:00
David Greenman
5f7daa9621 Changes to buf.h now require that param.h be included. 1994-10-05 09:57:49 +00:00
David Greenman
555edc2c99 Took out junk to save the old value of BLOCKSIZE as it is unnecessary.
Remove CFLAGS=-g from Makefile.
1994-08-12 10:26:27 +00:00
David Greenman
f66e339c33 Implement -k flag. 1994-08-12 02:02:22 +00:00
David Greenman
e6692375a2 swapinfo(1) command from 1.1.5. This version has been modified to work
with the new libkvm interfaces.
1994-08-12 01:49:30 +00:00