]> git.sur5r.net Git - bacula/bacula/commitdiff
Increase width of ls size. Fixes bug #1409
authorKern Sibbald <kern@sibbald.com>
Mon, 2 Nov 2009 21:51:05 +0000 (22:51 +0100)
committerKern Sibbald <kern@sibbald.com>
Mon, 2 Nov 2009 21:51:05 +0000 (22:51 +0100)
bacula/src/dird/ua_tree.c
bacula/src/lib/attr.c

index d5580ce3135dc76907f46ad872be130d9d0a9e85..d87d056e68860bc5ddb7cbcd51d15ff6ecb2bd4e 100644 (file)
@@ -529,7 +529,7 @@ static void ls_output(guid_list *guid, char *buf, const char *fname, const char
                   guid->uid_to_name(statp->st_uid, en1, sizeof(en1)),
                   guid->gid_to_name(statp->st_gid, en2, sizeof(en2)));
       p += n;
-      n = sprintf(p, "%10.10s  ", edit_int64(statp->st_size, ec1));
+      n = sprintf(p, "%12.12s  ", edit_int64(statp->st_size, ec1));
       p += n;
       if (statp->st_ctime > statp->st_mtime) {
          time = statp->st_ctime;
index b69bee7aa559abafbff7dbd8f0581536f5a05ef9..e2eae5f28c519f824fa87f66a6138ae414a854fc 100644 (file)
@@ -259,7 +259,7 @@ void print_ls_output(JCR *jcr, ATTR *attr)
    p += sprintf(p, "%-8.8s %-8.8s", 
                 guid->uid_to_name(attr->statp.st_uid, en1, sizeof(en1)),
                 guid->gid_to_name(attr->statp.st_gid, en2, sizeof(en2)));
-   p += sprintf(p, "%10.10s ", edit_int64(attr->statp.st_size, ec1));
+   p += sprintf(p, "%12.12s ", edit_int64(attr->statp.st_size, ec1));
    p = encode_time(attr->statp.st_ctime, p);
    *p++ = ' ';
    *p++ = ' ';