Fix compiler error from changed interface.

Use new buffer_dupl instead.