Re: [PATCH 10/20] lib: Export errname

From: Eric Biggers
Date: Thu Jul 13 2023 - 03:10:26 EST


On Wed, Jul 12, 2023 at 05:11:05PM -0400, Kent Overstreet wrote:
> errname() returns the name of an errcode; this functionality is
> otherwise only available for error pointers via %pE - bcachefs uses this
> for better error messages.

Interesting that this exists! It seems you meant %pe, not %pE, though.

- Eric