diff options
Diffstat (limited to 'lib/tar/write_header.c')
-rw-r--r-- | lib/tar/write_header.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/tar/write_header.c b/lib/tar/write_header.c index 6626d00..c235014 100644 --- a/lib/tar/write_header.c +++ b/lib/tar/write_header.c @@ -149,7 +149,8 @@ static int write_schily_xattr(FILE *fp, const struct stat *orig, len = strlen(prefix) + strlen(it->key) + strlen(it->value) + 2; len += num_digits(len) + 1; - fprintf(fp, "%zu %s%s=%s\n", len, prefix, it->key, it->value); + fprintf(fp, PRI_SZ " %s%s=%s\n", len, + prefix, it->key, it->value); } return padd_file(fp, total_size); |