From 4466c365052b477caac5a05b0a73eb2958f490df Mon Sep 17 00:00:00 2001 From: Maxim Levitsky Date: Wed, 23 Sep 2009 09:47:49 +0200 Subject: [PATCH] libblkid: announce Joliet extension Signed-off-by: Maxim Levitsky Signed-off-by: Karel Zak --- shlibs/blkid/src/superblocks/iso9660.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shlibs/blkid/src/superblocks/iso9660.c b/shlibs/blkid/src/superblocks/iso9660.c index 976dee12..ffab1daf 100644 --- a/shlibs/blkid/src/superblocks/iso9660.c +++ b/shlibs/blkid/src/superblocks/iso9660.c @@ -111,6 +111,8 @@ static int probe_iso9660(blkid_probe pr, const struct blkid_idmag *mag) memcmp(iso->escape_sequences, "%/C", 3) == 0 || memcmp(iso->escape_sequences, "%/E", 3) == 0) { + blkid_probe_set_version(pr, "Joliet Extension"); + /* Is the Joliet (UTF16BE) label equal to the label in * the PVD? If yes, use PVD label. The Jolied version * of the label could be trimed (because UTF16..). @@ -122,8 +124,6 @@ static int probe_iso9660(blkid_probe pr, const struct blkid_idmag *mag) iso->volume_id, sizeof(iso->volume_id), BLKID_ENC_UTF16BE); - - blkid_probe_set_version(pr, "Joliet Extension"); goto has_label; } off += ISO_SECTOR_SIZE; -- 2.39.5