Fix function name in debug message.