This website works better with JavaScript.
Home
Explore
Register
Sign In
Fincer
/
openntpd-portable
mirror of
https://github.com/Fincer/openntpd-portable
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
10
Wiki
Activity
Browse Source
ensure that all of the fields of struct timex are initialized
OPENBSD_5_7
Brent Cook
10 years ago
parent
5980ef6d61
commit
29e3fe363e
4 changed files
with
4 additions
and
4 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
compat/adjfreq_freebsd.c
+1
-1
compat/adjfreq_linux.c
+1
-1
compat/adjfreq_netbsd.c
+1
-1
compat/adjfreq_solaris.c
+ 1
- 1
compat/adjfreq_freebsd.c
View File
@ -30,7 +30,7 @@
int
int
adjfreq
(
const
int64_t
*
freq
,
int64_t
*
oldfreq
)
adjfreq
(
const
int64_t
*
freq
,
int64_t
*
oldfreq
)
{
{
struct
timex
txc
;
struct
timex
txc
=
{
0
}
;
int64_t
newfreq
;
int64_t
newfreq
;
if
(
freq
!
=
NULL
)
{
if
(
freq
!
=
NULL
)
{
+ 1
- 1
compat/adjfreq_linux.c
View File
@ -30,7 +30,7 @@
int
int
adjfreq
(
const
int64_t
*
freq
,
int64_t
*
oldfreq
)
adjfreq
(
const
int64_t
*
freq
,
int64_t
*
oldfreq
)
{
{
struct
timex
txc
;
struct
timex
txc
=
{
0
}
;
int64_t
newfreq
;
int64_t
newfreq
;
if
(
freq
!
=
NULL
)
{
if
(
freq
!
=
NULL
)
{
+ 1
- 1
compat/adjfreq_netbsd.c
View File
@ -31,7 +31,7 @@
int
int
adjfreq
(
const
int64_t
*
freq
,
int64_t
*
oldfreq
)
adjfreq
(
const
int64_t
*
freq
,
int64_t
*
oldfreq
)
{
{
struct
timex
txc
;
struct
timex
txc
=
{
0
}
;
int64_t
newfreq
;
int64_t
newfreq
;
if
(
freq
!
=
NULL
)
{
if
(
freq
!
=
NULL
)
{
+ 1
- 1
compat/adjfreq_solaris.c
View File
@ -30,7 +30,7 @@
int
int
adjfreq
(
const
int64_t
*
freq
,
int64_t
*
oldfreq
)
adjfreq
(
const
int64_t
*
freq
,
int64_t
*
oldfreq
)
{
{
struct
timex
txc
;
struct
timex
txc
=
{
0
}
;
int64_t
newfreq
;
int64_t
newfreq
;
if
(
freq
!
=
NULL
)
{
if
(
freq
!
=
NULL
)
{
Write
Preview
Loading…
Cancel
Save