From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: function snprintf() in xen_save_domain.c for debugged Date: Mon, 24 Feb 2014 10:02:48 +0100 Message-ID: <20140224090248.GB15597@aepfle.de> References: <20140205123908.GA1198@aepfle.de> <1391689706.75705.YahooMailNeo@web161806.mail.bf1.yahoo.com> <20140206214018.GA14658@aepfle.de> <1391807749.53657.YahooMailNeo@web161801.mail.bf1.yahoo.com> <20140207222247.GA23234@aepfle.de> <1392796739.73315.YahooMailNeo@web161801.mail.bf1.yahoo.com> <20140219141207.GA9631@aepfle.de> <1392967119.28200.YahooMailNeo@web161805.mail.bf1.yahoo.com> <20140221093009.GA3187@aepfle.de> <1393000441.22839.YahooMailNeo@web161802.mail.bf1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1393000441.22839.YahooMailNeo@web161802.mail.bf1.yahoo.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: Adel Amani Cc: Xen List-Id: xen-devel@lists.xenproject.org On Fri, Feb 21, Adel Amani wrote: > can you please explain in more details about: The "@@ " markers are from diff > (1), so that patch(1) can do its work.what line code i need to add? http://en.wikipedia.org/wiki/Diff http://en.wikipedia.org/wiki/Patch_%28Unix%29 > do i need to add these lines of code: > max_f = atoi(argv[4]); > si.flags = atoi(argv[5]); Counter question: how will si.flags get its value without an assignment? Please go and find a mentor to get this task done. This list is the wrong forum to learn hacking source code. Olaf