aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/tracetool/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/tracetool/__init__.py b/scripts/tracetool/__init__.py
index b29594d75e..b887540a55 100644
--- a/scripts/tracetool/__init__.py
+++ b/scripts/tracetool/__init__.py
@@ -91,7 +91,7 @@ ALLOWED_TYPES = [
def validate_type(name):
bits = name.split(" ")
for bit in bits:
- bit = re.sub("\*", "", bit)
+ bit = re.sub(r"\*", "", bit)
if bit == "":
continue
if bit == "const":