|
@ -1,4 +1,4 @@ |
|
|
/* $OpenBSD: ntpd.c,v 1.102 2015/12/29 18:23:28 millert Exp $ */ |
|
|
|
|
|
|
|
|
/* $OpenBSD: ntpd.c,v 1.103 2016/01/11 15:30:56 deraadt Exp $ */ |
|
|
|
|
|
|
|
|
/* |
|
|
/* |
|
|
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> |
|
|
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> |
|
@ -528,7 +528,7 @@ readfreq(void) |
|
|
freqfp = fopen(DRIFTFILE, "w"); |
|
|
freqfp = fopen(DRIFTFILE, "w"); |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
freqfp = fdopen(fd, "r+"); |
|
|
freqfp = fdopen(fd, "r+"); |
|
|
|
|
|
|
|
|
/* if we're adjusting frequency already, don't override */ |
|
|
/* if we're adjusting frequency already, don't override */ |
|
|