diff --git a/loopy/check.py b/loopy/check.py
index 910ab24ab3f98a9b01953d30354eda077273423d..853743733136ac907582611bff136ef108968b94 100644
--- a/loopy/check.py
+++ b/loopy/check.py
@@ -93,7 +93,7 @@ def check_for_unused_hw_axes_in_insns(kernel):
                         ",".join(str(i) for i in group_axes),
                         ",".join(str(i) for i in group_axes_used)))
         if local_axes != local_axes_used:
-            raise LoopyError("instruction '%s' does not use all local hw axes"
+            raise LoopyError("instruction '%s' does not use all local hw axes "
                     "(available: %s used:%s)"
                     % (insn.id,
                         ",".join(str(i) for i in local_axes),