do_output(): deal with not params for fmt_str

Signed-off-by: Raul Gutierrez S <rgs@itevenworks.net>