label is a Runestr, not a char*. what you want is
void
updlabel(void)
{
int fd, n;
fd = open("/dev/label", OWRITE);
if(fd == -1)
return;
fprint(fd, "%#.*S", title.nr, title.r);
close(fd);
}
- erik
