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

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