aboutsummaryrefslogtreecommitdiff
path: root/clocks.c
diff options
context:
space:
mode:
Diffstat (limited to 'clocks.c')
-rw-r--r--clocks.c4
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;
}
}