Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PPSi
Commits
3c27f391
Commit
3c27f391
authored
Jun 07, 2019
by
Jean-Claude BAU
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adjtimex: Clear structure to make a read only access
parent
9b1ae8a3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
wrs-startup.c
arch-wrs/wrs-startup.c
+1
-0
No files found.
arch-wrs/wrs-startup.c
View file @
3c27f391
...
...
@@ -240,6 +240,7 @@ int main(int argc, char **argv)
}
/* Set offset here, so config parsing can override it */
memset
(
&
t
,
0
,
sizeof
(
t
));
if
(
adjtimex
(
&
t
)
>=
0
)
{
int
*
p
;
/*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment