]> git.sesse.net Git - bcachefs-tools-debian/blob - include/linux/errname.h
rust: bump rpassword to v7.x
[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 */