Index: trunk/i386/libsaio/disk.c =================================================================== --- trunk/i386/libsaio/disk.c (revision 437) +++ trunk/i386/libsaio/disk.c (revision 438) @@ -1767,6 +1767,7 @@ if ( matchVolumeToString(bvr, volStart, volLen) ) { strncpy(str, aliasStart, min(strMaxLen, aliasLen)); + str[min(strMaxLen, aliasLen)] = '\0'; free(aliasList); return true; Index: trunk/i386/boot2/graphics.c =================================================================== --- trunk/i386/boot2/graphics.c (revision 437) +++ trunk/i386/boot2/graphics.c (revision 438) @@ -1209,7 +1209,8 @@ { currentIndicator = 0; } - printf("%c\b", indicator[currentIndicator++]); + putc(indicator[currentIndicator++]); + putc('\b'); } } @@ -1218,7 +1219,8 @@ { if ( getVideoMode() == VGA_TEXT_MODE ) { - printf(" \b"); + putc(' '); + putc('\b'); } }