diff --git a/scripts/build/parse_syscalls.py b/scripts/build/parse_syscalls.py index ebdb9bb73abd39e..b748bb1c210898d 100644 --- a/scripts/build/parse_syscalls.py +++ b/scripts/build/parse_syscalls.py @@ -119,7 +119,7 @@ def analyze_headers(include_dir, scan_dir, file_list): try: contents = fp.read() except Exception: - sys.stderr.write("Error decoding %s\n" % path) + sys.stderr.write("Error decoding %s (included in %s)\n" % (one_file, path)) raise fn = os.path.basename(one_file)