summaryrefslogtreecommitdiff
path: root/tools/intel_reg.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2016-10-06 16:25:51 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2016-10-07 13:02:37 +0300
commit48a9e1e1553d37067ea2199e00aa51a356e7fa68 (patch)
tree5b39a5398885238480e9a4d0632f182f109586f8 /tools/intel_reg.c
parentfcc3fa08648398bbfbc859f60445a450f9bf3d12 (diff)
tools/intel_reg: Return SUCCESS after a succesful dump
No reason why 'intel_reg dump' can't declare success after a succesful dumping. Spotted after fixing tools_test to use the right tool :) Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'tools/intel_reg.c')
-rw-r--r--tools/intel_reg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/intel_reg.c b/tools/intel_reg.c
index 98dea0fa..01a3671e 100644
--- a/tools/intel_reg.c
+++ b/tools/intel_reg.c
@@ -491,7 +491,7 @@ static int intel_reg_dump(struct config *config, int argc, char *argv[])
intel_register_access_fini();
- return EXIT_FAILURE;
+ return EXIT_SUCCESS;
}
static int intel_reg_snapshot(struct config *config, int argc, char *argv[])