]> Dogcows Code - chaz/tar/commitdiff
* src/buffer.c (_write_volume_label): Fix typo, which prevented
authorSergey Poznyakoff <gray@gnu.org.ua>
Mon, 3 Nov 2008 19:15:52 +0000 (19:15 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Mon, 3 Nov 2008 19:15:52 +0000 (19:15 +0000)
`-V label -M' from working.

ChangeLog
src/buffer.c

index 8c1c4f64ba23126971dfa5312d505727100ffb6e..5036e699e7f3a37172d29e49c5a68496d129939f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-11-03  Sergey Poznyakoff  <gray@gnu.org.ua>
+
+       * src/buffer.c (_write_volume_label): Fix typo, which prevented
+       `-V label -M' from working.
+
 2008-10-30  Sergey Poznyakoff  <gray@gnu.org.ua>
 
        * NEWS, configure.ac: Version 1.20.91
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.027845 seconds and 4 git commands to generate.