mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 00:32:35 +01:00
ircd::fs: Use the gnu_dev_*() suite rather than sys/types macros.
This commit is contained in:
parent
57f761c388
commit
107e4b59af
1 changed files with 2 additions and 2 deletions
|
@ -585,8 +585,8 @@ ircd::fs::uuid(const fd &fd,
|
|||
return fmt::sprintf
|
||||
{
|
||||
buf, "%u-%u-%lu-%s",
|
||||
major(stat.st_dev),
|
||||
minor(stat.st_dev),
|
||||
gnu_dev_major(stat.st_dev),
|
||||
gnu_dev_minor(stat.st_dev),
|
||||
stat.st_ino,
|
||||
S_ISREG(stat.st_mode)? "reg":
|
||||
S_ISDIR(stat.st_mode)? "dir":
|
||||
|
|
Loading…
Reference in a new issue