diff options
author | dim <dim@FreeBSD.org> | 2011-12-18 01:13:21 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2011-12-18 01:13:21 +0000 |
commit | 1ca71436d88e29febb0b6146014208b9b106dd20 (patch) | |
tree | 635f377894caacd6818a746e116b9b34553cfa30 /usr.sbin/sade | |
parent | 6429d9943660ae18df169691d4623f45678e3136 (diff) | |
download | FreeBSD-src-1ca71436d88e29febb0b6146014208b9b106dd20.zip FreeBSD-src-1ca71436d88e29febb0b6146014208b9b106dd20.tar.gz |
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
Diffstat (limited to 'usr.sbin/sade')
-rw-r--r-- | usr.sbin/sade/install.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sade/install.c b/usr.sbin/sade/install.c index 9ae08cb..e3364fe 100644 --- a/usr.sbin/sade/install.c +++ b/usr.sbin/sade/install.c @@ -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); } |