Commit 8a4edbb7 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

vlm: fix error message / uninitialized variable

parent d3cd6fa1
......@@ -854,8 +854,8 @@ int ExecuteCommand( vlm_t *p_vlm, const char *psz_command,
if( !psz_buf || !ppsz_command )
{
p_message = vlm_MessageNew( ( ppsz_command ) ? ppsz_command[0] : NULL,
"Memory allocation failed for command of length %zu",
p_message = vlm_MessageNew( "Memory error",
"allocation failed for command of length %zu",
i_command_len );
goto error;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment