fixed logerror() in floptool and imgtool (nw)