diff options
Diffstat (limited to 'clocks.c')
-rw-r--r-- | clocks.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -459,8 +459,13 @@ int clock_dump(char *clk) { int ret; - if (read_clock_info(clock_tree)) - return -1; + if (!clock_tree) { + if (clock_info_load()) + return -1; + } else { + if (read_clock_info(clock_tree)) + return -1; + } if (clk) { printf("\nParents for \"%s\" Clock :\n\n", clk); |