Signed-off-by: Karel Zak <kzak@redhat.com>
+2006-09-17 Karel Zak <kzak@redhat.com>
+
+ * probe.c (probe_fat): Fix problem with empty FAT label.
+
2006-09-17 Karel Zak <kzak@redhat.com>
* probe.c (probe_gfs, _gfs2), probe.h: Add support for GFS/GFS2
}
if (vol_label && memcmp(vol_label, no_name, 11)) {
- label = vol_label;
- label_len = figure_label_len(vol_label, 11);
+ if ((label_len = figure_label_len(vol_label, 11)))
+ label = vol_label;
}
/* We can't just print them as %04X, because they are unaligned */