Home Home > GIT Browse > SLE12-SP3
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Baumanis <fabian.baumanis@suse.com>2019-05-20 13:39:38 +0200
committerFabian Baumanis <fabian.baumanis@suse.com>2019-05-20 13:39:38 +0200
commitb7593d754e89772bdc30cc4c9e2e484c39329ee9 (patch)
tree8b760619edb747c125aa4b2638b4837e3f5dacab
parent1827b73a65974a1ed9450b3c5774209748e28c9b (diff)
tools lib traceevent: Fix missing equality check for strcmpSLE12-SP3
(bsc#1129770). suse-commit: db8b28ce96e9b9f205dbc24fae132a028d0f2015
-rw-r--r--tools/lib/traceevent/event-parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/traceevent/event-parse.c b/tools/lib/traceevent/event-parse.c
index bc751d946ab6..c867a6f6a174 100644
--- a/tools/lib/traceevent/event-parse.c
+++ b/tools/lib/traceevent/event-parse.c
@@ -2201,7 +2201,7 @@ eval_type_str(unsigned long long val, const char *type, int pointer)
return val & 0xffffffff;
if (strcmp(type, "u64") == 0 ||
- strcmp(type, "s64"))
+ strcmp(type, "s64") == 0)
return val;
if (strcmp(type, "s8") == 0)