[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] fs/iso9660.c: Correct error message for missing UUID
From: |
Thomas Schmitt |
Subject: |
[PATCH] fs/iso9660.c: Correct error message for missing UUID |
Date: |
Mon, 1 Jul 2024 20:20:13 +0200 |
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 <scdbackup@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
- [PATCH] fs/iso9660.c: Correct error message for missing UUID,
Thomas Schmitt <=