]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r284582:
authortrasz <trasz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 2 Aug 2015 10:08:57 +0000 (10:08 +0000)
committertrasz <trasz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 2 Aug 2015 10:08:57 +0000 (10:08 +0000)
commitba11ffbad5ecace447c55b44fc339ea9648ac7f8
treefdfa2cf5f8ca6dda97dd9a21a4b61ec291b9e26e
parent7d59e736a81ef665fa840bccecbddc71881335e8
MFC r284582:

Fix off-by-one error in fstyp(8) and geom_label(4) that made them use
a single space (" ") as a CD9660 label name when no label was present.
Similar problem was also present in msdosfs label recognition.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@286193 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/geom/label/g_label.c
sys/geom/label/g_label.h
sys/geom/label/g_label_iso9660.c
sys/geom/label/g_label_msdosfs.c
usr.sbin/fstyp/cd9660.c
usr.sbin/fstyp/fstyp.c
usr.sbin/fstyp/fstyp.h
usr.sbin/fstyp/msdosfs.c