Re: [PATCH v2] tools/counter: Close fd when exit

From: Andy Shevchenko
Date: Wed Sep 04 2024 - 03:36:39 EST


On Wed, Sep 4, 2024 at 4:42 AM zhangjiao2
<zhangjiao2@xxxxxxxxxxxxxxxxxxxx> wrote:

> Since fd is not used in the messaging it's better to
> close it before printing anything.

It was my comment which you addressed. Thanks for that.
But it does not explain what the problem is.

--
With Best Regards,
Andy Shevchenko