From: Sergey Poznyakoff Date: Mon, 3 Nov 2008 19:15:52 +0000 (+0000) Subject: * src/buffer.c (_write_volume_label): Fix typo, which prevented X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Ftar;a=commitdiff_plain;h=99e3a2604f3872b94d53bfdadd2cad5d299c739d * src/buffer.c (_write_volume_label): Fix typo, which prevented `-V label -M' from working. --- diff --git a/ChangeLog b/ChangeLog index 8c1c4f6..5036e69 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-11-03 Sergey Poznyakoff + + * src/buffer.c (_write_volume_label): Fix typo, which prevented + `-V label -M' from working. + 2008-10-30 Sergey Poznyakoff * NEWS, configure.ac: Version 1.20.91 diff --git a/src/buffer.c b/src/buffer.c index 59d4e4f..02a3e4c 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 =