aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib/opensolaris/cmd/plockstat/plockstat.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix the build for non-amd64.Bryan Drewery2015-12-021-2/+2
| | | | Notes: svn path=/head/; revision=291637
* Mechanically convert cddl sun #ifdef's to illumosSteven Hartland2015-01-171-7/+7
| | | | | | | | | | | | | | | Since the upstream for cddl code is now illumos not sun, mechanically convert all sun #ifdef's to illumos #ifdef's which have been used in all newer code for some time. Also do a manual pass to correct the use if #ifdef comments as per style(9) as well as few uses of #if defined(__FreeBSD__) vs #ifndef illumos. MFC after: 1 month Sponsored by: Multiplay Notes: svn path=/head/; revision=277300
* Use 'int' to store the return value of getopt(), rather than char.Justin Hibbits2013-11-201-1/+2
| | | | | | | | | | | On some architectures (powerpc), char is unsigned by default, which means comparisons against -1 always fail, so the programs get stuck in an infinite loop. MFC after: 1 week Notes: svn path=/head/; revision=258362
* Port plockstat to FreeBSD. This will be connected to the build later.Rui Paulo2010-08-211-11/+36
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=211562
* MFV:Rui Paulo2010-07-191-0/+996
OpenSolaris' plockstat utility. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=210237