Blame SOURCES/bcc-0.14.0-tools-opensnoop-Fix-compilation-problem.patch

6da96d
From 39a4af00c99327d9498c2e1232afdfa49fa1e564 Mon Sep 17 00:00:00 2001
6da96d
From: =?UTF-8?q?Mauricio=20V=C3=A1squez?= <mauricio@kinvolk.io>
6da96d
Date: Mon, 8 Jun 2020 08:12:08 -0500
6da96d
Subject: [PATCH 2/3] tools/opensnoop: Fix compilation problem
6da96d
MIME-Version: 1.0
6da96d
Content-Type: text/plain; charset=UTF-8
6da96d
Content-Transfer-Encoding: 8bit
6da96d
6da96d
Fix stupid bug introduced by myself.
6da96d
6da96d
Signed-off-by: Mauricio Vásquez <mauricio@kinvolk.io>
6da96d
---
6da96d
 tools/opensnoop.py | 2 +-
6da96d
 1 file changed, 1 insertion(+), 1 deletion(-)
6da96d
6da96d
diff --git a/tools/opensnoop.py b/tools/opensnoop.py
6da96d
index 9a526625..b7408e7c 100755
6da96d
--- a/tools/opensnoop.py
6da96d
+++ b/tools/opensnoop.py
6da96d
@@ -198,7 +198,7 @@ KRETFUNC_PROBE(do_sys_open, int dfd, const char *filename, int flags, int mode,
6da96d
 
6da96d
     events.perf_submit(ctx, &data, sizeof(data));
6da96d
 
6da96d
-    return 0:
6da96d
+    return 0;
6da96d
 }
6da96d
 """
6da96d
 
6da96d
-- 
6da96d
2.25.4
6da96d