return NULL;
EC_NEG1_LOG(cwd = open(".", O_RDONLY));
-
- EC_ZERO_LOGSTR(lstat(path, &st), "lstat(%s): %s", path, strerror(errno));
+ EC_ZERO( lstat(path, &st) );
if (path[0] == '/') {
EC_NULL(fpath = bfromcstr(path));
for (int i = 0; i < l->qty ; i++) {
*did = cnid;
- EC_ZERO(bconcat(statpath, l->entry[i]));
- EC_ZERO_LOGSTR(lstat(cfrombstr(statpath), &st),
- "lstat(rpath: %s, elem: %s): %s: %s",
- cfrombstr(rpath), cfrombstr(l->entry[i]),
- cfrombstr(statpath), strerror(errno));
+ EC_ZERO( bconcat(statpath, l->entry[i]) );
+ EC_ZERO( lstat(cfrombstr(statpath), &st) );
if ((cnid = cnid_add(cdb,
&st,