0
0
Fork 0
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:
Jason Volk 2018-09-01 23:51:54 -07:00
parent 57f761c388
commit 107e4b59af

View file

@ -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":