This patch makes libnetfs use the macros from sys/sysmacros.h. Index: file-get-translator.c =================================================================== RCS file: /cvsroot/hurd/hurd/libnetfs/file-get-translator.c,v retrieving revision 1.9 diff -u -r1.9 file-get-translator.c --- file-get-translator.c 9 Sep 2001 17:32:03 -0000 1.9 +++ file-get-translator.c 19 Jul 2008 21:14:04 -0000 @@ -71,8 +71,8 @@ (S_ISCHR (np->nn_stat.st_mode) ? _HURD_CHRDEV : _HURD_BLKDEV), - '\0', (np->nn_stat.st_rdev >> 8) & 0377, - '\0', (np->nn_stat.st_rdev) & 0377); + '\0', major (np->nn_stat.st_rdev), + '\0', minor (np->nn_stat.st_rdev)); if (buflen < 0) err = ENOMEM; else
libnetfs-device-simplification.patch
Description: Binary data