summaryrefslogtreecommitdiff
path: root/sbin/swapctl/swaplist.c
AgeCommit message (Expand)Author
2019-12-05Remove clause #3 from mrg@NetBSD license.Martin Pieuchot
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2015-12-10Remove NULL-checks before free(). ok tb@mmcc
2015-08-20<stdlib.h> is included, so do not need to cast result fromTheo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-08-10Only need <stdint.h> and not all of <inttypes.h> herePhilip Guenther
2011-06-24swapctl -s was showing 1k blocks, regardless of -k. so fix this by showingJasper Lievisse Adriaanse
2007-07-26use calloc() instead of malloc(); zinovik@cs.karelia.ruTheo de Raadt
2007-07-16Remove dead code and fix incorrect comment. From Igor Zinovik.Todd C. Miller
2007-07-16No need to include <sys/param.h> or <errno.h>. Also reorder includesTodd C. Miller
2002-07-03ansiTheo de Raadt
2000-02-26add rcs identsHugh Graham
1999-05-30Output style nit. From ho@Tobias Weingartner
1999-05-22Initial import of swapctl(8).Tobias Weingartner