aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/add/perform.c
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-01-15 09:45:16 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-01-15 09:45:16 +0000
commit248cf5a5735be3d9b4bcf52f741d24857965b211 (patch)
tree81f90d033916369667169781036aa2f8c206f8c3 /usr.sbin/pkg_install/add/perform.c
parent8c614ff6fe555eb11ae18cf0c74e30c3faadc564 (diff)
Fix a bug arised from the ')' in the wrong place when calling printf()-like
varargs function, which lead to one of the arguments was left out. This resulted in failure when inwoking mtree, warning message "mtree returned a non-zero status - continuing" and probably is the reason for zillion mtree errors on bento.
Notes
Notes: svn path=/head/; revision=71055
Diffstat (limited to 'usr.sbin/pkg_install/add/perform.c')
-rw-r--r--usr.sbin/pkg_install/add/perform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/add/perform.c b/usr.sbin/pkg_install/add/perform.c
index 9422c5421bf8..f53f3cd71f41 100644
--- a/usr.sbin/pkg_install/add/perform.c
+++ b/usr.sbin/pkg_install/add/perform.c
@@ -366,7 +366,7 @@ pkg_do(char *pkg)
if (Verbose)
printf("mtree -U -f %s -d -e -p %s >%s\n", MTREE_FNAME, p ? p->name : "/", _PATH_DEVNULL);
if (!Fake) {
- if (vsystem("/usr/sbin/mtree -U -f %s -d -e -p %s >%s", MTREE_FNAME, p ? p->name : "/"), _PATH_DEVNULL)
+ if (vsystem("/usr/sbin/mtree -U -f %s -d -e -p %s >%s", MTREE_FNAME, p ? p->name : "/", _PATH_DEVNULL))
warnx("mtree returned a non-zero status - continuing");
}
unlink(MTREE_FNAME);