fix ret val

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@319 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Anthony Minessale 2007-11-06 16:49:29 +00:00
parent e6a9f5f9ca
commit e569e45f96
1 changed files with 1 additions and 1 deletions

View File

@ -707,7 +707,7 @@ zap_status_t zt_init(zap_io_interface_t **zio)
if ((CONTROL_FD = open(ctlpath, O_RDWR)) < 0) {
zap_log(ZAP_LOG_ERROR, "Cannot open control device\n");
return 0;
return ZAP_FAIL;
}
zt_globals.codec_ms = 20;