]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/attr.c
Apply fix from Martin Simmons to clear structure before
[bacula/bacula] / bacula / src / lib / attr.c
index 53ca134a34814d0163b88b06d22b35a1c4b17dbb..379069075c13b406e330ae12e3d795faedf2f328 100644 (file)
@@ -10,7 +10,7 @@
 
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
-   version 2 as ammended with additional clauses defined in the
+   version 2 as amended with additional clauses defined in the
    file LICENSE in the main source directory.
 
    This program is distributed in the hope that it will be useful,
@@ -200,7 +200,7 @@ void print_ls_output(JCR *jcr, ATTR *attr)
    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));
    p = encode_time(attr->statp.st_ctime, p);
    *p++ = ' ';
    *p++ = ' ';