zd1201: fix error return code
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 26 Aug 2013 07:32:01 +0000 (15:32 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 26 Aug 2013 18:10:39 +0000 (14:10 -0400)
Fix to return -ENOMEM in the memory alloc error handling
case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found