Commit Graph

6 Commits

Author SHA1 Message Date
lukem 0a96848668 * fix .Nm usage
* prototype main() for WARNS=1
1997-09-15 11:21:59 +00:00
mikel 8b691f3aee add comparisons to NULL implicit in my last changes 1997-07-11 03:36:27 +00:00
thorpej 2ea04e4383 Add a "-t blk|noblk" device type option to swapctl -A. This allows the
user to specify "only add block devices" or "only add non-block devices".
This is useful during early system startup where swapping may be needed
before swap files are available (e.g. if fsck'ing large file systems).
1997-06-25 23:18:10 +00:00
mikel 6b2081e1f5 include <err.h> for err*() and warn*() prototypes
cast long to int for use by printf("%d",..)
add parens for gcc -Wall
1997-06-24 05:22:38 +00:00
thorpej 0d769d1d10 Totally rework the command parsing, eliminating a few walk-offs of
bogus pointers, etc.
1997-06-15 03:47:53 +00:00
mrg 01a7eafbaa swapctl program for new swap code. 1997-06-12 13:14:11 +00:00