Signed-off-by: Daniel Lezcano <[email protected]>
---
clocks.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/clocks.c b/clocks.c
index 5c5c24f..9577267 100644
--- a/clocks.c
+++ b/clocks.c
@@ -64,7 +64,7 @@ int init_clock_details(bool dump, int selectedwindow)
fprintf(stderr, "powerdebug: Unable to locate debugfs "
"mount point. Mount debugfs and try "
"again..\n");
- exit(1);
+ return -1;
}
}
@@ -81,7 +81,7 @@ int init_clock_details(bool dump, int selectedwindow)
} else {
fprintf(stderr, "powerdebug: Unable to find clock tree"
" information at %s.\n", clk_dir_path);
- exit(1);
+ return -1;
}
}
--
1.7.1
_______________________________________________
linaro-dev mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/linaro-dev