diff --git a/src/drc/drc/built-in-macros/_drc_engine.rb b/src/drc/drc/built-in-macros/_drc_engine.rb index 275e3cf2e..8493bbf85 100644 --- a/src/drc/drc/built-in-macros/_drc_engine.rb +++ b/src/drc/drc/built-in-macros/_drc_engine.rb @@ -2656,7 +2656,7 @@ CODE self.log(fmt % info) n += 1 if @profile_n > 0 && n > @profile_n - self.log("... (%d entries skipped)" % (pi.size - nmax)) + self.log("... (%d entries skipped)" % (pi.size - @profile_n)) break end end @@ -2669,7 +2669,7 @@ CODE self.log(fmt % info) n += 1 if @profile_n > 0 && n > @profile_n - self.log("... (%d entries skipped)" % (pi.size - nmax)) + self.log("... (%d entries skipped)" % (pi.size - @profile_n)) break end end