This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
file LICENSE in the main source directory.
This program is distributed in the hope that it will be useful,
file LICENSE in the main source directory.
This program is distributed in the hope that it will be useful,
if (sscanf(rec, "%d %d", &attr->file_index, &attr->type) != 2) {
Jmsg(jcr, M_FATAL, 0, _("Error scanning attributes: %s\n"), rec);
Dmsg1(100, "\nError scanning attributes. %s\n", rec);
return 0;
}
if (sscanf(rec, "%d %d", &attr->file_index, &attr->type) != 2) {
Jmsg(jcr, M_FATAL, 0, _("Error scanning attributes: %s\n"), rec);
Dmsg1(100, "\nError scanning attributes. %s\n", rec);
return 0;
}
- Dmsg2(100, "Got Attr: FilInx=%d type=%d\n", attr->file_index, attr->type);
+ Dmsg2(400, "Got Attr: FilInx=%d type=%d\n", attr->file_index, attr->type);
attr->file_index, attr->type, attr->fname, attr->attr, attr->lname,
attr->attrEx, attr->data_stream);
*attr->ofname = 0;
attr->file_index, attr->type, attr->fname, attr->attr, attr->lname,
attr->attrEx, attr->data_stream);
*attr->ofname = 0;
p += sprintf(p, " %2d ", (uint32_t)attr->statp.st_nlink);
p += sprintf(p, "%-8.8s %-8.8s", getuser(attr->statp.st_uid, en1, sizeof(en1)),
getgroup(attr->statp.st_gid, en2, sizeof(en2)));
p += sprintf(p, " %2d ", (uint32_t)attr->statp.st_nlink);
p += sprintf(p, "%-8.8s %-8.8s", getuser(attr->statp.st_uid, en1, sizeof(en1)),
getgroup(attr->statp.st_gid, en2, sizeof(en2)));
- p += sprintf(p, "%8.8s ", edit_uint64(attr->statp.st_size, ec1));
+ p += sprintf(p, "%10.10s ", edit_uint64(attr->statp.st_size, ec1));