summaryrefslogtreecommitdiffstats
path: root/usr.sbin/lmcconfig/lmcconfig.c
Commit message (Collapse)AuthorAgeFilesLines
* Rework time handling.ed2012-09-011-8/+7
| | | | | | | | | After I made the previous commit, I noticed the code does some things it shouldn't. It casts a struct timeval to a time_t, assuming tv_sec is the first member. Also, we are not interested in microseconds, so it is better to just call time(NULL). MFC after: 1 month
* Remove unneeded struct timezone.ed2012-09-011-2/+1
| | | | We're only interested in a timestamp -- not the timezone.
* lmcconfig(8): bump to WARNS=3, fix typo in usage while hereuqs2010-12-201-209/+280
| | | | | | Slight style(9) improvments - function definitions - sort #include
* Fix type used to hold fgetc(3) output, this should help arm and powerpcuqs2010-12-201-1/+1
| | | | which have char == unsigned char
* Remove useless conditional.uqs2010-12-201-3/+2
| | | | | | `vga' cannot be less than 0x3f when reaching the check. Coverity Prevent: CID 5196
* Include string.h for strncpy prototypeimp2009-02-191-0/+2
| | | | Include strings.h for bcopy and bzero prototype
* Add the lmcconfig tool for controlling the lmc driver. Add man pages andscottl2005-10-031-0/+2483
glue. Submitted by: David Boggs
OpenPOWER on IntegriCloud