diff --git a/loopy/schedule.py b/loopy/schedule.py
index c19a3e2c86bf57831596a96953c4628036681ae6..4bacc43b9e5b0d571350d243186af33ca998d078 100644
--- a/loopy/schedule.py
+++ b/loopy/schedule.py
@@ -371,7 +371,7 @@ def dump_schedule(kernel, schedule):
                 insn_str = sched_item.insn_id
             lines.append(indent + insn_str)
         elif isinstance(sched_item, Barrier):
-            lines.append(indent + "---BARRIER---")
+            lines.append(indent + "---BARRIER:%s---" % sched_item.kind)
         else:
             assert False