mirror of
https://github.com/matrix-construct/construct
synced 2025-02-18 09:40:12 +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
|
return fmt::sprintf
|
||||||
{
|
{
|
||||||
buf, "%u-%u-%lu-%s",
|
buf, "%u-%u-%lu-%s",
|
||||||
major(stat.st_dev),
|
gnu_dev_major(stat.st_dev),
|
||||||
minor(stat.st_dev),
|
gnu_dev_minor(stat.st_dev),
|
||||||
stat.st_ino,
|
stat.st_ino,
|
||||||
S_ISREG(stat.st_mode)? "reg":
|
S_ISREG(stat.st_mode)? "reg":
|
||||||
S_ISDIR(stat.st_mode)? "dir":
|
S_ISDIR(stat.st_mode)? "dir":
|
||||||
|
|
Loading…
Add table
Reference in a new issue