In usr.sbin/sade/install.c and usr.sbin/sade/label.c, fix a few warnings

about format strings not being literals.

MFC after:	1 week
This commit is contained in:
Dimitry Andric 2011-12-18 01:13:21 +00:00
parent 4c14050c9d
commit 7b910e702a

View File

@ -104,10 +104,10 @@ performNewfs(PartInfo *pi, char *dname, int queue)
}
if (queue == QUEUE_YES) {
command_shell_add(pi->mountpoint, buffer);
command_shell_add(pi->mountpoint, "%s", buffer);
return (0);
} else
return (vsystem(buffer));
return (vsystem("%s", buffer));
}
return (0);
}