Date: Fri, 21 Aug 2009 11:17:25 +0000 (UTC) From: Marko Zec <zec@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/tools/tools/vimage vimage.c Message-ID: <200908211117.n7LBHg7O011976@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
zec 2009-08-21 11:17:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) tools/tools/vimage vimage.c Log: SVN rev 196422 on 2009-08-21 11:17:25Z by zec MFC r196421: Bugfix: all requests for creating vnets via vimage -c were always reported as failures, even if the actual library / system call would succeed, because error message would be reported if the return value from jail_setv() call was >= 0, and if not, then if that same value was < 0, i.e. always. The correct behavior is to abort (only) if jail_setv() returns < 0. Approved by: re (rwatson), julian (mentor) Approved by: re (rwatson) Revision Changes Path 1.2.2.3 +2 -4 src/tools/tools/vimage/vimage.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908211117.n7LBHg7O011976>