mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-02 00:00:03 +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 */
|