stat-util: add missing S_IFLNK entry in inode_type_to_string()

No idea what happened here, but it's a glaring omission.
This commit is contained in:
Lennart Poettering
2023-06-20 17:03:47 +02:00
committed by Luca Boccassi
parent 4687f001e6
commit e83fbf4b2a

View File

@@ -490,6 +490,8 @@ const char* inode_type_to_string(mode_t m) {
return "reg";
case S_IFDIR:
return "dir";
case S_IFLNK:
return "lnk";
case S_IFCHR:
return "chr";
case S_IFBLK: