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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2908
@ -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 New Issue
Block a user