diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2008-11-03 19:15:52 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2008-11-03 19:15:52 +0000 |
commit | 99e3a2604f3872b94d53bfdadd2cad5d299c739d (patch) | |
tree | 04cfc64a6f4752d5d453b1fa407af2f9873fae88 | |
parent | b4ec8aedf9c8948bee9bf1635132a7da7a522611 (diff) | |
download | tar-99e3a2604f3872b94d53bfdadd2cad5d299c739d.tar.gz |
* src/buffer.c (_write_volume_label): Fix typo, which prevented
`-V label -M' from working.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/buffer.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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 diff --git a/src/buffer.c b/src/buffer.c index 59d4e4f0..02a3e4c6 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -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 (¤t_stat_info.file_name, label->header.name); current_stat_info.had_trailing_slash = |