12 lines
297 B
Diff
12 lines
297 B
Diff
--- src/tar.c
|
|
+++ src/tar.c
|
|
@@ -217,7 +217,7 @@
|
|
char *name;
|
|
|
|
strncpy (tar_hdr->magic, TMAGIC, TMAGLEN);
|
|
- strncpy (tar_hdr->magic + TMAGLEN, TVERSION, TVERSLEN);
|
|
+ strncpy (tar_hdr->version, TVERSION, TVERSLEN);
|
|
|
|
name = getuser (file_hdr->c_uid);
|
|
if (name)
|