replaced ECMD_OUTPUTBUF_LENGTH with len

Signed-off-by: Maximilian Güntner <maximilian.guentner@gmail.com>