From: Ian Campbell Subject: Re: [PATCH 4/5] xl: Remove clone-and-hack in do_daemonize Date: Fri, 21 Mar 2014 13:49:53 +0000 Message-ID: <1395409793.19839.82.camel@kazak.uk.xensource.com> References: <1395239334-19579-1-git-send-email-ian.jackson@eu.citrix.com> <1395239334-19579-5-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1395239334-19579-5-git-send-email-ian.jackson@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Wed, 2014-03-19 at 14:28 +0000, Ian Jackson wrote: > do_daemonize had open-coded handling of the results from xl_waitpid. > > Instead, break out the meat of console_child_report into a new > function child_report (which returns an error code), and use it. > > No functional change other than a change to the message printed if > forking the daemonic child fails. > > Signed-off-by: Ian Jackson Acked-by: Ian Campbell