fix compile errors
This commit is contained in:
parent
4b3301be83
commit
cb7287dd02
|
@ -272,7 +272,7 @@ int32_t readFromFile(char *name, uint32_t *len, void **buf) {
|
|||
return TAOS_SYSTEM_ERROR(errno);
|
||||
}
|
||||
|
||||
int64_t s = taosReadImp(fd, *buf, *len);
|
||||
int64_t s = taosRead(fd, *buf, *len);
|
||||
if (s != *len) {
|
||||
tscError("read file %s failed, error:%s", name, strerror(errno));
|
||||
close(fd);
|
||||
|
|
|
@ -4,4 +4,4 @@ PROJECT(TDengine)
|
|||
AUX_SOURCE_DIRECTORY(. SRC)
|
||||
ADD_LIBRARY(oslinux ${SRC})
|
||||
|
||||
TARGET_LINK_LIBRARIES(oslinux m rt z)
|
||||
TARGET_LINK_LIBRARIES(oslinux m rt z dl)
|
Loading…
Reference in New Issue