The UUID emitted by function grub_iso9660_uuid is derived from the
ISO 9660 Primary Volume Descriptor field "Volume Modification Date and
Time". But the error message about possible invalid content of this
field talks of "creation date" rather than of "modification date".

Signed-off-by: Thomas Schmitt <scdbac...@gmx.net>
---
 grub-core/fs/iso9660.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/grub-core/fs/iso9660.c b/grub-core/fs/iso9660.c
index 8c348b59a..a40c0fc0e 100644
--- a/grub-core/fs/iso9660.c
+++ b/grub-core/fs/iso9660.c
@@ -1166,7 +1166,7 @@ grub_iso9660_uuid (grub_device_t device, char **uuid)
          && ! data->voldesc.modified.second[0] && ! 
data->voldesc.modified.second[1]
          && ! data->voldesc.modified.hundredth[0] && ! 
data->voldesc.modified.hundredth[1])
        {
-         grub_error (GRUB_ERR_BAD_NUMBER, "no creation date in filesystem to 
generate UUID");
+         grub_error (GRUB_ERR_BAD_NUMBER, "no modification date in filesystem 
to generate UUID");
          *uuid = NULL;
        }
       else
--
2.39.2


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to