Commit 3c27f391 authored by Jean-Claude BAU's avatar Jean-Claude BAU

adjtimex: Clear structure to make a read only access

parent 9b1ae8a3
......@@ -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;
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment