From 99e3a2604f3872b94d53bfdadd2cad5d299c739d Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Mon, 3 Nov 2008 19:15:52 +0000 Subject: [PATCH] * src/buffer.c (_write_volume_label): Fix typo, which prevented `-V label -M' from working. --- ChangeLog | 5 +++++ src/buffer.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 = -- 2.45.2