summaryrefslogtreecommitdiff
path: root/mach/shortcut.awk
diff options
context:
space:
mode:
Diffstat (limited to 'mach/shortcut.awk')
-rw-r--r--mach/shortcut.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mach/shortcut.awk b/mach/shortcut.awk
index 987cebe325..1857998122 100644
--- a/mach/shortcut.awk
+++ b/mach/shortcut.awk
@@ -30,7 +30,7 @@ NF == 1 && $1 == "(" { inproto=1 }
echo == 1 { print $0; }
-/^}$/ \
+/^}$/ && proto != "" \
{
print "{";
print " kern_return_t err;";