]> git.sesse.net Git - bcachefs-tools-debian/blob - include/linux/errname.h
Update bcachefs sources to 90a9c61e2b bcachefs: Switch bch2_btree_delete_range()...
[bcachefs-tools-debian] / include / linux / errname.h
1 #ifndef _LINUX_ERRNAME_H
2 #define _LINUX_ERRNAME_H
3
4 #include <string.h>
5
6 static inline const char *errname(int err)
7 {
8         return strerror(abs(err));
9 }
10
11 #endif /* _LINUX_ERRNAME_H */