mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Function in this module bloodly called 'gethostname' and linked
with all pgms, you can imagine results! Change 'gethostname' -> 'ntp_gettime', I don't know what real name must be here but try to guess.
This commit is contained in:
parent
0385520e72
commit
0b00772e37
1 changed files with 2 additions and 2 deletions
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
static const char rcsid[] =
|
||||
"$Id$";
|
||||
"$Id: ntp_gettime.c,v 1.1 1994/09/18 20:29:46 wollman Exp $";
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include <sys/param.h>
|
||||
|
|
@ -42,7 +42,7 @@ static const char rcsid[] =
|
|||
#include <sys/timex.h>
|
||||
|
||||
int
|
||||
gethostname(struct ntptimeval *ntv)
|
||||
ntp_gettime(struct ntptimeval *ntv)
|
||||
{
|
||||
int mib[3];
|
||||
struct ntptimeval tv;
|
||||
|
|
|
|||
Loading…
Reference in a new issue