Blob Blame History Raw
From 39a4af00c99327d9498c2e1232afdfa49fa1e564 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mauricio=20V=C3=A1squez?= <mauricio@kinvolk.io>
Date: Mon, 8 Jun 2020 08:12:08 -0500
Subject: [PATCH 2/3] tools/opensnoop: Fix compilation problem
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Fix stupid bug introduced by myself.

Signed-off-by: Mauricio Vásquez <mauricio@kinvolk.io>
---
 tools/opensnoop.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/opensnoop.py b/tools/opensnoop.py
index 9a526625..b7408e7c 100755
--- a/tools/opensnoop.py
+++ b/tools/opensnoop.py
@@ -198,7 +198,7 @@ KRETFUNC_PROBE(do_sys_open, int dfd, const char *filename, int flags, int mode,
 
     events.perf_submit(ctx, &data, sizeof(data));
 
-    return 0:
+    return 0;
 }
 """
 
-- 
2.25.4