From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5E26D634.6000905@cn.fujitsu.com> Date: Tue, 21 Jan 2020 18:45:08 +0800 From: Xiao Yang MIME-Version: 1.0 References: <20200121073236.9067-1-yangx.jy@cn.fujitsu.com> <20200121100235.GA2929@work-vm> In-Reply-To: <20200121100235.GA2929@work-vm> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Virtio-fs] [PATCH] virtiofsd/passthrough_ll: Fix wrong output format in lo_setxattr() List-Id: Development discussions about virtio-fs List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Dr. David Alan Gilbert" Cc: virtio-fs@redhat.com On 2020/1/21 18:02, Dr. David Alan Gilbert wrote: > Thank you for the fix! I think we need to mark fuse_log as being printf > format so hopefully it will spot more of these errors automatically. Hi Dave, Do you perfer to write output to stdout rather than stderr? right?(e.g. replace vfprintf with vprintf?) BTW: Perhaps, log_func() needs to call g_free() after using g_strdup_printf(). Thanks, Xiao Yang > Dave