mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-01-23 00:07:07 +03:00
12 lines
178 B
C
12 lines
178 B
C
#ifndef _LINUX_ERRNAME_H
|
|
#define _LINUX_ERRNAME_H
|
|
|
|
#include <string.h>
|
|
|
|
static inline const char *errname(int err)
|
|
{
|
|
return strerror(abs(err));
|
|
}
|
|
|
|
#endif /* _LINUX_ERRNAME_H */
|