From: Kern Sibbald Date: Mon, 2 Nov 2009 21:51:05 +0000 (+0100) Subject: Increase width of ls size. Fixes bug #1409 X-Git-Tag: Release-5.0.0~280^2~18 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=090f5e1c0bd37c776650f2d5388235ef11d39dd0;p=bacula%2Fbacula Increase width of ls size. Fixes bug #1409 --- diff --git a/bacula/src/dird/ua_tree.c b/bacula/src/dird/ua_tree.c index d5580ce313..d87d056e68 100644 --- a/bacula/src/dird/ua_tree.c +++ b/bacula/src/dird/ua_tree.c @@ -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; diff --git a/bacula/src/lib/attr.c b/bacula/src/lib/attr.c index b69bee7aa5..e2eae5f28c 100644 --- a/bacula/src/lib/attr.c +++ b/bacula/src/lib/attr.c @@ -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++ = ' ';