projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tools/rtla: Exit with EXIT_SUCCESS when help is invoked
[linux-2.6-microblaze.git]
/
tools
/
tracing
/
rtla
/
src
/
timerlat_hist.c
diff --git
a/tools/tracing/rtla/src/timerlat_hist.c
b/tools/tracing/rtla/src/timerlat_hist.c
index
3a5b8c4
..
dbf1540
100644
(file)
--- a/
tools/tracing/rtla/src/timerlat_hist.c
+++ b/
tools/tracing/rtla/src/timerlat_hist.c
@@
-545,7
+545,11
@@
static void timerlat_hist_usage(char *usage)
for (i = 0; msg[i]; i++)
fprintf(stderr, "%s\n", msg[i]);
- exit(1);
+
+ if (usage)
+ exit(EXIT_FAILURE);
+
+ exit(EXIT_SUCCESS);
}
/*