[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20191225084518.GA2140@wfg-t540p.sh.intel.com>
Date: Wed, 25 Dec 2019 16:45:18 +0800
From: Fengguang Wu <fengguang.wu@...el.com>
To: Hui Zhu <teawater@...il.com>
Cc: linux-kernel@...r.kernel.org, Hui Zhu <teawaterz@...ux.alibaba.com>
Subject: Re: [PATCH for vm-scalability] usemem: Fix the build warning
Thanks teawater!
>- write(1, buf, len);
>+ if (write(1, buf, len) != len)
>+ printf("Output buf \"%s\" fail\n", buf);
Changed it to
fprintf(stderr, "WARNING: statistics output may be incomplete.\n");
Thanks,
Fengguang
Powered by blists - more mailing lists