uint32_t temp;
uint16_t nent;
char *buf, *nentp;
- int len;
LOG(log_debug, logtype_ad, "ad_rebuild_adouble_header_v2");
uint32_t temp;
uint16_t nent;
char *buf, *nentp;
- int len;
LOG(log_debug, logtype_ad, "ad_rebuild_adouble_header_ea");
uint32_t temp;
uint16_t nent;
char *buf;
- int len;
LOG(log_debug, logtype_ad, "ad_rebuild_adouble_header_osx");
if (ad->ad_adflags & ADFLAGS_DIR) {
EC_NEG1_LOG( cwd = open(".", O_RDONLY) );
EC_NEG1_LOG( fchdir(ad_data_fileno(ad)) );
- EC_ZERO_LOG( sys_lsetxattr(".", AD_EA_META, ad->ad_data, AD_DATASZ_EA, 0) );
+ EC_ZERO_LOGSTR( sys_lsetxattr(".", AD_EA_META, ad->ad_data, AD_DATASZ_EA, 0),
+ "sys_lsetxattr(\"%s\"): %s", fullpathname(".") ,strerror(errno));
EC_NEG1_LOG( fchdir(cwd) );
EC_NEG1_LOG( close(cwd) );
cwd = -1;