Miroslav Lichvar
2013-07-09 10:42:52 UTC
Signed-off-by: Miroslav Lichvar <***@redhat.com>
---
clock.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/clock.c b/clock.c
index b097911..267fe4e 100644
--- a/clock.c
+++ b/clock.c
@@ -613,6 +613,7 @@ struct clock *clock_create(int phc_index, struct interface *iface, int count,
pr_err("Failed to open %s: %m", phc);
return NULL;
}
+ c->utc_timescale = 0;
max_adj = phc_max_adj(c->clkid);
if (!max_adj) {
pr_err("clock is not adjustable");
---
clock.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/clock.c b/clock.c
index b097911..267fe4e 100644
--- a/clock.c
+++ b/clock.c
@@ -613,6 +613,7 @@ struct clock *clock_create(int phc_index, struct interface *iface, int count,
pr_err("Failed to open %s: %m", phc);
return NULL;
}
+ c->utc_timescale = 0;
max_adj = phc_max_adj(c->clkid);
if (!max_adj) {
pr_err("clock is not adjustable");
--
1.8.1.4
1.8.1.4