Add workaround suggestion for 'nonexistent time' diagnostic

This commit is contained in:
Andrey A. Chernov 1998-03-30 09:29:47 +00:00
parent 76ee2baecf
commit 20344e1582
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=34960

View File

@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: adjkerntz.c,v 1.20 1997/06/10 11:01:13 charnier Exp $
* $Id: adjkerntz.c,v 1.21 1998/02/25 09:40:21 ache Exp $
*/
#ifndef lint
@ -175,7 +175,7 @@ int main(argc, argv)
* middle of the nonexistent hour means 3:30 am.
*/
syslog(LOG_WARNING,
"Warning: nonexistent %s time.",
"Warning: nonexistent %s time, try to run later.",
utcsec == -1 && localsec == -1 ? "UTC time and local" :
utcsec == -1 ? "UTC" : "local");
if (!sleep_mode) {
@ -229,7 +229,7 @@ int main(argc, argv)
* but perhaps we never get here.
*/
syslog(LOG_WARNING,
"Warning: nonexistent final %s time.",
"Warning: nonexistent final %s time, try to run later.",
utcsec == -1 && localsec == -1 ? "UTC time and local" :
utcsec == -1 ? "UTC" : "local");
if (!sleep_mode) {