mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
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:
committed by
Luca Boccassi
parent
4687f001e6
commit
e83fbf4b2a
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user