ustctl: Fix memory allocation problem with compatibility args
authorJason Wessel <jason.wessel@windriver.com>
Thu, 3 Mar 2011 02:21:07 +0000 (21:21 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Thu, 3 Mar 2011 02:21:07 +0000 (21:21 -0500)
The parenthesis were missing to make the malloc math have the correct
precedence.  The addition needs to occur before the multiplication.
The result is the same but for clarity also change change char ** to
char * because we are allocating an array of char pointers.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>

No differences found
This page took 0.034803 seconds and 4 git commands to generate.