summaryrefslogtreecommitdiffstats
path: root/sbin/adjkerntz
Commit message (Collapse)AuthorAgeFilesLines
* Revert r253748,253749avg2013-07-281-0/+1
| | | | | | This WIP should not have been committed yet. Pointyhat to: avg
* remove needless inclusion of machine/cpu.h in userlandavg2013-07-281-1/+0
| | | | MFC after: 21 days
* Rework all non-contributed files that use `struct timezone'.ed2012-09-011-4/+1
| | | | | | | | | | | | | | This structure is not part of POSIX. According to POSIX, gettimeofday() has the following prototype: int gettimeofday(struct timeval *restrict tp, void *restrict tzp); Also, POSIX states that gettimeofday() shall return 0 (as long as tzp is not used). Remove dead error handling code. Also use NULL for a nul-pointer instead of integer 0. While there, change all pieces of code that only use tv_sec to use time(3), as this provides less overhead.
* Fix a variety of grammar and style nitseadler2012-03-091-15/+13
| | | | | | | PR: docs/165841 Submitted by: Robert Simmons <rsimmons0@gmail.com> Approved by: brd MFC after: 1 week
* Raise WARNS for various tools where possible.ed2010-01-171-1/+0
| | | | Submitted by: Marius Nünnerich <marius@nuenneri.ch>
* Switch the default WARNS level for sbin/ to 6.ru2009-10-191-0/+1
| | | | Submitted by: Ulrich Spörlein
* If not compiled for debugging, redirect standard input/output/errorru2006-10-231-1/+7
| | | | to /dev/null before becoming a daemon.
* Correct various mistakes in the last commit.pjd2006-05-131-4/+4
|
* Use sysctlbynamephk2006-05-111-25/+14
|
* Expand *n't contractions.ru2005-02-131-1/+1
|
* Sort sections.ru2005-01-181-9/+9
|
* Invoke tzset(3) within the main loop to catch changes to /etc/localtimeghelmer2004-04-271-0/+2
| | | | | when running as a daemon in the hope that it will fix situations where the CMOS clock was apparently set using the stale TZ offset.
* Use __FBSDID() to quiet GCC 3.3 warnings.obrien2003-05-031-5/+4
|
* s/filesystem/file system/g as discussed on -developerstrhodes2002-08-211-4/+4
|
* The .Nm utilitycharnier2002-07-061-17/+25
|
* more file system > filesystemtrhodes2002-05-161-4/+4
|
* o Use real prototypesimp2002-03-181-8/+6
| | | | | o Remove __P. o main(int, char *[])
* Default to WARNS=2.obrien2001-12-041-1/+0
| | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike
* Fix a prototype and set WARNS=2.dd2001-07-152-2/+9
| | | | Submitted by: Mike Barcroft <mike@q9media.com>
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* - VFS_SET(msdos) -> VFS_SET(msdosfs)ru2001-06-011-1/+1
| | | | | | - msdos.ko -> msdosfs.ko - mount_msdos(8) -> mount_msdosfs(8) - "msdos" -> "msdosfs" compatibility glue in mount(8)
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for sbin/ to 8.ru2001-03-201-1/+2
|
* Eliminate mdocNG warnings caused by misplaced or extraneous macro calls.ru2001-02-281-2/+2
|
* Prepare for mdoc(7)NG.ru2000-12-181-0/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-2/+2
|
* Use Fx macro wherever possible.ru2000-11-141-1/+1
|
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-1/+2
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* Correct use of .Nm. Add missing .El. Add rcsid. Remove unused #include.charnier1998-06-042-19/+25
|
* Implement Helbig idea of offset calculation reducing mktime() callsache1998-04-112-25/+25
| | | | Immediately exit if /etc/wall_cmos_clock not present
* Add workaround suggestion for 'nonexistent time' diagnosticache1998-03-301-3/+3
|
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.charnier1998-03-191-3/+3
|
* Minimize clock drift between getting and setting timeache1998-02-251-9/+26
| | | | Submitted by: bde
* Add Id, add usage function.charnier1997-06-101-8/+19
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Sort cross references.wosch1997-01-131-1/+3
|
* English corrections from jdp.ache1996-04-091-18/+23
| | | | Add main purpose description (MSDOS timestamps)
* Correct some man page cross references and file location references.mpp1996-04-071-5/+5
|
* More info and more correctionsache1996-04-051-4/+8
|
* Describe new adjkerntz variant + various changes from jdpache1996-04-051-50/+91
|
* Detect if /etc/wall_cmos_clock gone while adjkerntz paused.ache1996-04-051-1/+6
|
* Dynamically sense /etc/wall_cmos_clock presence/absenseache1996-04-051-20/+8
|
* Fix error with multiply 'adjkerntz -a' copies running.ache1996-04-051-32/+86
| | | | | Manage adjkerntz kernel variable even for UTC clocks. Code cleanup.
* Remove trailing whitespace.rgrimes1995-05-301-1/+1
|
* Use more AI to predict initial/final isdst,ache1995-03-261-19/+37
| | | | latest isdst preffered.
* Use timelocal() instead of mktime() hackache1994-12-261-10/+18
|
* Fix resetting adjkerntz to 0 (pointed by Bruce),ache1994-12-121-0/+2
| | | | forget to initialize mib variable.
OpenPOWER on IntegriCloud