diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-01-15 09:45:16 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-01-15 09:45:16 +0000 |
commit | 44b2f8fbf2bf2c7f279ab4d049838d24de38715f (patch) | |
tree | 1cb591e145404a4d0e9fc2d4b6877ec8f2bd8fd7 /usr.sbin | |
parent | 3d7171640aec7583a97cdb37bbfe59516c9bf086 (diff) | |
download | FreeBSD-src-44b2f8fbf2bf2c7f279ab4d049838d24de38715f.zip FreeBSD-src-44b2f8fbf2bf2c7f279ab4d049838d24de38715f.tar.gz |
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.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pkg_install/add/perform.c | 2 |
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 9422c54..f53f3cd 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); |