]> Dogcows Code - chaz/tar/blobdiff - src/buffer.c
* src/buffer.c (_write_volume_label): Fix typo, which prevented
[chaz/tar] / src / buffer.c
index 59d4e4f0c16c4c793f1d97e6fb3c67923fbd1150..02a3e4c620aeffc0ef6714fc951c05bd59f2fb43 100644 (file)
@@ -1320,7 +1320,7 @@ _write_volume_label (const char *str)
 
       memset (label, 0, BLOCKSIZE);
 
-      strcpy (label->header.name, volume_label_option);
+      strcpy (label->header.name, str);
       assign_string (&current_stat_info.file_name,
                      label->header.name);
       current_stat_info.had_trailing_slash =
This page took 0.019991 seconds and 4 git commands to generate.